it's not $title, try the other variable
authorJoey Hess <joey@kodama.kitenet.net>
Wed, 4 Jun 2008 17:41:15 +0000 (13:41 -0400)
committerJoey Hess <joey@kodama.kitenet.net>
Wed, 4 Jun 2008 17:41:15 +0000 (13:41 -0400)
IkiWiki/Plugin/recentchanges.pm

index c8d222edbadac2d857f64cc6fefc64d77f8391e8..3020b6a6a3d1ecd59a12fe3e89cdcc620d5456bc 100644 (file)
@@ -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} &&