]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/remove.pm
initial support for git repos with untrusted committers
[git.ikiwiki.info.git] / IkiWiki / Plugin / remove.pm
index cf95026c871570358a00d9bc1027c9dc291d66ad..68bf9d1ee27ba570736a3e424e9bca973433149e 100644 (file)
@@ -98,7 +98,9 @@ sub removal_confirm ($$@) { #{{{
        my $attachment=shift;
        my @pages=@_;
 
-       check_canremove($_, $q, $session) foreach @pages;
+       foreach my $page (@pages) {
+               check_canremove($page, $q, $session);
+       }
 
        # Save current form state to allow returning to it later
        # without losing any edits.