X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/03ab2623194009bf3cb82747c59dbf565b89e7bf..ea753782b222bf4ba2fb4683b6363afdd9055b64:/IkiWiki/Plugin/rename.pm?ds=sidebyside diff --git a/IkiWiki/Plugin/rename.pm b/IkiWiki/Plugin/rename.pm index 90af1b4a9..f39c93332 100644 --- a/IkiWiki/Plugin/rename.pm +++ b/IkiWiki/Plugin/rename.pm @@ -312,7 +312,13 @@ sub sessioncgi ($$) { required => 1, }; - IkiWiki::run_hooks(rename => sub { shift->(\@torename, $q, $session); }); + IkiWiki::run_hooks(rename => sub { + @torename=shift->( + torename => \@torename, + cgi => $q, + session => $session + ); + }); # See if any subpages need to be renamed. if ($q->param("subpages") && $src ne $dest) {