aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-07-31 23:07:21 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-07-31 23:07:21 +0000
commit5196c85fcb3370adb3aaea8c08063d38abd2e6f2 (patch)
tree06e88abbcbe1e9a936d8099d0860e8eaa8050ef3
parentda9507bc6e8418a600fd02a193afb87e810d6049 (diff)
downloadikiwiki-5196c85fcb3370adb3aaea8c08063d38abd2e6f2.tar
ikiwiki-5196c85fcb3370adb3aaea8c08063d38abd2e6f2.tar.gz
web commit by http://ethan.betacantrips.com/: Oops, misunderstood how canedit hook works.
-rw-r--r--doc/todo/blogpost_plugin.mdwn2
1 files changed, 1 insertions, 1 deletions
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;
+