fix removal form display
authorJoey Hess <joey@gnu.kitenet.net>
Tue, 20 Jan 2009 16:12:49 +0000 (11:12 -0500)
committerJoey Hess <joey@gnu.kitenet.net>
Tue, 20 Jan 2009 16:12:49 +0000 (11:12 -0500)
The form was misdisplayed when displayed via comment removal.

IkiWiki/Plugin/remove.pm

index 21989aff3ff1c812af0ca83f5d8ecd72046393aa..ee5784f2026db29ac4d48041f6cd355c2356bf1a 100644 (file)
@@ -218,7 +218,7 @@ sub sessioncgi ($$) {
                        }
                }
                else {
-                       IkiWiki::showform($form, $buttons, $session, $q);
+                       removal_confirm($q, $session, 0, $q->param("page"));
                }
 
                exit 0;