projects
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f852e8
)
avoid uninitialised value
author
Joey Hess
<joey@kodama.kitenet.net>
Fri, 2 May 2008 17:01:51 +0000
(13:01 -0400)
committer
Joey Hess
<joey@kodama.kitenet.net>
Fri, 2 May 2008 17:01:51 +0000
(13:01 -0400)
IkiWiki/Plugin/anonok.pm
patch
|
blob
|
history
diff --git
a/IkiWiki/Plugin/anonok.pm
b/IkiWiki/Plugin/anonok.pm
index ba02325ff7e1b8a8089797952623c9e4f4cd77b0..1880516d568b35e2b96463676d23c04c62f103f2 100644
(file)
--- a/
IkiWiki/Plugin/anonok.pm
+++ b/
IkiWiki/Plugin/anonok.pm
@@
-16,7
+16,7
@@
sub canedit ($$$) { #{{{
my $ret;
- if (length $config{anonok_pagespec}) {
+ if (
exists $config{anonok_pagespec} &&
length $config{anonok_pagespec}) {
if (pagespec_match($page, $config{anonok_pagespec},
location => $page)) {
return "";