From 5196c85fcb3370adb3aaea8c08063d38abd2e6f2 Mon Sep 17 00:00:00 2001 From: joey Date: Tue, 31 Jul 2007 23:07:21 +0000 Subject: [PATCH] web commit by http://ethan.betacantrips.com/: Oops, misunderstood how canedit hook works. --- doc/todo/blogpost_plugin.mdwn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/todo/blogpost_plugin.mdwn b/doc/todo/blogpost_plugin.mdwn index e91263f15..ecb5f9454 100644 --- a/doc/todo/blogpost_plugin.mdwn +++ b/doc/todo/blogpost_plugin.mdwn @@ -129,7 +129,7 @@ Index: IkiWiki/Plugin/blogpost.pm + my $cgi=shift; + my $session=shift; + -+ return "" unless pagespec_match($page, $config{blogpagespec}); ++ return undef unless pagespec_match($page, $config{blogpagespec}); + my $user=$session->param("name"); + IkiWiki::needsignin($cgi, $session) unless defined $user; + -- 2.26.2