aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2009-02-17 19:36:58 -0500
committerJoey Hess <joey@gnu.kitenet.net>2009-02-17 19:36:58 -0500
commit52f2235e6072bfb2e39a52bd8c106ae890ba4a5a (patch)
treef55add932b8958bea0fa47645a6a87e65285e2a5 /IkiWiki
parent9acc4d578d7468ebb54a02377e571c89bb76ad9b (diff)
downloadikiwiki-52f2235e6072bfb2e39a52bd8c106ae890ba4a5a.tar
ikiwiki-52f2235e6072bfb2e39a52bd8c106ae890ba4a5a.tar.gz
goto: Fix redirect to comments.
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 7cc8cb484..4fd1471e9 100644
--- a/IkiWiki/Plugin/goto.pm
+++ b/IkiWiki/Plugin/goto.pm
@@ -38,7 +38,7 @@ sub cgi_goto ($;$) {
# permalink. Comments do.
if (IkiWiki::isinternal($page) &&
defined $pagestate{$page}{meta}{permalink}) {
- redirect($q, $pagestate{$page}{meta}{permalink});
+ Ikiwiki::redirect($q, $pagestate{$page}{meta}{permalink});
}
my $link = bestlink("", $page);