summaryrefslogtreecommitdiff
path: root/IkiWiki
diff options
context:
space:
mode:
Diffstat (limited to 'IkiWiki')
-rw-r--r--IkiWiki/Plugin/recentchanges.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/IkiWiki/Plugin/recentchanges.pm b/IkiWiki/Plugin/recentchanges.pm
index c8d222edb..3020b6a6a 100644
--- a/IkiWiki/Plugin/recentchanges.pm
+++ b/IkiWiki/Plugin/recentchanges.pm
@@ -42,9 +42,9 @@ sub pagetemplate (@) { #{{{
# XXX this is here because I've been seeing a strange uninitialized
# value in this sub.
- if (! defined $page) {
+ if (! defined $config{recentchangespage}) {
eval q{use Carp};
- Carp::cluck("undefined page; please report this to Joey");
+ Carp::cluck("undefined recentchangespage; please report this to Joey");
}
if ($config{rcs} && $page ne $config{recentchangespage} &&