From 319e2c94deeffc3ffe1244d8afe27c6007b9b47b Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 4 Jun 2008 13:41:15 -0400 Subject: [PATCH] it's not $title, try the other variable --- IkiWiki/Plugin/recentchanges.pm | 4 ++-- 1 file 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} && -- 2.44.0