]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/goto.pm
move dedup code into function, simplify
[git.ikiwiki.info.git] / IkiWiki / Plugin / goto.pm
index 06ec0bdca476d8d99640358660c5454c5462e426..3f40c5859f3d22f7d7c1fc7dfb8d9398e8a7249f 100644 (file)
@@ -65,7 +65,7 @@ sub cgi ($) {
        my $do = $cgi->param('do');
 
        if (defined $do && ($do eq 'goto' || $do eq 'commenter' ||
-                              $do eq 'recentchanged_link')) {
+                              $do eq 'recentchanges_link')) {
                # goto is the preferred name for this; recentchanges_link and
                # commenter are for compatibility with any saved URLs
                cgi_goto($cgi);