]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/remove.pm
Fix numeric comparisons with undef
[git.ikiwiki.info.git] / IkiWiki / Plugin / remove.pm
index d48b28f955043ec347dd87879a789c0830dfa5ab..5c99b387e9c7ced1fd99518de3177033b29eeeaa 100644 (file)
@@ -219,7 +219,7 @@ sub sessioncgi ($$) {
                        postremove($session);
                }
                elsif ($form->submitted eq 'Remove' && $form->validate) {
                        postremove($session);
                }
                elsif ($form->submitted eq 'Remove' && $form->validate) {
-                       IkiWiki::checksessionexpiry($q, $session, $q->param('sid'));
+                       IkiWiki::checksessionexpiry($q, $session);
 
                        my @pages=$form->field("page");
                        
 
                        my @pages=$form->field("page");