web commit by http://ethan.betacantrips.com/: Oops, misunderstood how canedit hook works.

master
joey 2007-07-31 23:07:21 +00:00
parent da9507bc6e
commit 5196c85fcb
1 changed files with 1 additions and 1 deletions

View File

@ -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;
+