From 27eb9321718ffb7a4140a7eea2f05db196c5e63c Mon Sep 17 00:00:00 2001 From: Anika Henke Date: Sun, 12 Oct 2008 21:42:06 +0200 Subject: show pagesource when locked (FS#443) darcs-hash:20081012194206-f7d6d-e6372bf1e518650ff71a811b78b3231b1dab1219.gz --- inc/html.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'inc/html.php') diff --git a/inc/html.php b/inc/html.php index 570f12b17..f15faf961 100644 --- a/inc/html.php +++ b/inc/html.php @@ -1074,7 +1074,7 @@ function html_edit($text=null,$include='edit'){ //FIXME: include needed? } } - $wr = $INFO['writable']; + $wr = $INFO['writable'] && !$INFO['locked']; if($wr){ if ($REV) print p_locale_xhtml('editrev'); print p_locale_xhtml($include); -- cgit v1.2.3