summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-03-23 02:03:48 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-03-23 02:03:48 +0000
commitbb04b36cc932f6f5c992da11cb8ffc08ea412c53 (patch)
tree85efd8823783a6cf4468baecdcac3b5bcb91d226
parentdef02747934ebb9bbcc09de0824667666448881e (diff)
Fix a bad use of implicit return for admin-less wikis. I got lucky..
-rwxr-xr-xikiwiki2
1 files changed, 2 insertions, 0 deletions
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 ($$) { #{{{