Fix a bad use of implicit return for admin-less wikis. I got lucky..
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Thu, 23 Mar 2006 02:03:48 +0000 (02:03 +0000)
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Thu, 23 Mar 2006 02:03:48 +0000 (02:03 +0000)
ikiwiki

diff --git a/ikiwiki b/ikiwiki
index aec52ca8601951f5dbe547d43d66ed249fdfcb75..80ad72526ef2434f4fc16cec9e1ab6852429a1ce 100755 (executable)
--- a/ikiwiki
+++ b/ikiwiki
@@ -1137,6 +1137,8 @@ sub page_locked ($$;$) { #{{{
                              htmllink("", $admin, 1)." and cannot be edited.");
                }
        }
+
+       return 0;
 } #}}}
 
 sub cgi_prefs ($$) { #{{{