diff options
author | Joey Hess <joey@kodama.kitenet.net> | 2008-06-04 13:41:15 -0400 |
---|---|---|
committer | Joey Hess <joey@kodama.kitenet.net> | 2008-06-04 13:41:15 -0400 |
commit | 319e2c94deeffc3ffe1244d8afe27c6007b9b47b (patch) | |
tree | 5089d7f63543d94b23fbcacc13f0f8c8dd2a8f82 /IkiWiki/Plugin | |
parent | 295e958da57129372b801275c78be0a4aa2b7ca9 (diff) |
it's not $title, try the other variable
Diffstat (limited to 'IkiWiki/Plugin')
-rw-r--r-- | IkiWiki/Plugin/recentchanges.pm | 4 |
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} && |