summaryrefslogtreecommitdiff
path: root/IkiWiki
diff options
context:
space:
mode:
Diffstat (limited to 'IkiWiki')
-rw-r--r--IkiWiki/Plugin/rename.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/rename.pm b/IkiWiki/Plugin/rename.pm
index 740ca8ac4..5c198f457 100644
--- a/IkiWiki/Plugin/rename.pm
+++ b/IkiWiki/Plugin/rename.pm
@@ -311,7 +311,7 @@ sub sessioncgi ($$) {
required => 1,
};
- IkiWiki::run_hooks(rename => sub { shift->(\@torename); });
+ IkiWiki::run_hooks(rename => sub { shift->(\@torename, $q, $session); });
# See if any subpages need to be renamed.
if ($q->param("subpages") && $src ne $dest) {