X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/6f852e88e30775cb2238f301bb7ca1c4a83d59f4..d3008b626ea6130d3b75662725f6f2c412fc71ea:/IkiWiki/Plugin/anonok.pm?ds=sidebyside 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 "";