aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2010-10-25 23:31:41 -0400
committerJoey Hess <joey@kitenet.net>2010-10-25 23:31:41 -0400
commitac6b5c12fa9c834555fde4a4cf06db7b792556d4 (patch)
tree73c68859acaaa8e2f41ba52878482518b45c25f0 /IkiWiki
parentac8aad2ecaad1204e00d0b6eac834ff619e0dc09 (diff)
downloadikiwiki-ac6b5c12fa9c834555fde4a4cf06db7b792556d4.tar
ikiwiki-ac6b5c12fa9c834555fde4a4cf06db7b792556d4.tar.gz
squash undef
Diffstat (limited to 'IkiWiki')
-rw-r--r--IkiWiki/Plugin/goto.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/goto.pm b/IkiWiki/Plugin/goto.pm
index 42d2425ca..348a663ef 100644
--- a/IkiWiki/Plugin/goto.pm
+++ b/IkiWiki/Plugin/goto.pm
@@ -52,7 +52,7 @@ sub cgi_goto ($;$) {
IkiWiki::redirect($q, $pagestate{$page}{meta}{permalink});
}
- if (! length $link) {
+ if (! defined $link || ! length $link) {
IkiWiki::cgi_custom_failure(
$q,
"404 Not Found",