summaryrefslogtreecommitdiff
path: root/inc/html.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/html.php')
-rw-r--r--inc/html.php2
1 files changed, 1 insertions, 1 deletions
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);