web commit by http://ethan.betacantrips.com/: Oops, misunderstood how canedit hook works.
parent
da9507bc6e
commit
5196c85fcb
|
@ -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;
|
||||
+
|
||||
|
|
Loading…
Reference in New Issue