]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/remove.pm
comments: add regression test for sorting by date
[git.ikiwiki.info.git] / IkiWiki / Plugin / remove.pm
index 336a781ed527ae65edca735f336396077ac009ef..bc481502a7dc8ecaa179e781d4a2c4dc3348d7b2 100644 (file)
@@ -240,7 +240,7 @@ sub sessioncgi ($$) {
                                if (! exists $pagesources{$parent}) {
                                        $parent="index";
                                }
                                if (! exists $pagesources{$parent}) {
                                        $parent="index";
                                }
-                               IkiWiki::redirect($q, urlto($parent, undef));
+                               IkiWiki::redirect($q, urlto($parent));
                        }
                }
                else {
                        }
                }
                else {