From: Joey Hess Date: Wed, 4 Jun 2008 17:41:15 +0000 (-0400) Subject: it's not $title, try the other variable X-Git-Url: https://sipb.mit.edu/gitweb.cgi/ikiwiki.git/commitdiff_plain/319e2c94deeffc3ffe1244d8afe27c6007b9b47b it's not $title, try the other variable --- 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} &&