summaryrefslogtreecommitdiff
path: root/inc
diff options
context:
space:
mode:
Diffstat (limited to 'inc')
-rw-r--r--inc/html.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/html.php b/inc/html.php
index 5de965a4c..7e60cad34 100644
--- a/inc/html.php
+++ b/inc/html.php
@@ -260,7 +260,7 @@ function html_show($txt=''){
global $REV;
global $HIGH;
//disable section editing for old revisions or in preview
- if($text || $REV){
+ if($txt || $REV){
$secedit = false;
}else{
$secedit = true;