X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/6f852e88e30775cb2238f301bb7ca1c4a83d59f4..76bda69a92075cbe73ba64232c69e32d7346b277:/IkiWiki/Plugin/anonok.pm diff --git a/IkiWiki/Plugin/anonok.pm b/IkiWiki/Plugin/anonok.pm index ba02325ff..1880516d5 100644 --- 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 "";