From bb04b36cc932f6f5c992da11cb8ffc08ea412c53 Mon Sep 17 00:00:00 2001 From: joey Date: Thu, 23 Mar 2006 02:03:48 +0000 Subject: [PATCH] Fix a bad use of implicit return for admin-less wikis. I got lucky.. --- ikiwiki | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ikiwiki b/ikiwiki index aec52ca86..80ad72526 100755 --- a/ikiwiki +++ b/ikiwiki @@ -1137,6 +1137,8 @@ sub page_locked ($$;$) { #{{{ htmllink("", $admin, 1)." and cannot be edited."); } } + + return 0; } #}}} sub cgi_prefs ($$) { #{{{ -- 2.26.2