summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandi <andi@splitbrain.org>2005-04-25 20:52:35 +0200
committerandi <andi@splitbrain.org>2005-04-25 20:52:35 +0200
commit5400331dc67bbcd5a576915d202a00018f66ff4c (patch)
tree64078d8860afe219586ab50e5b86607bdfc1fbb8
parent5578eb8f88a68a9d807e7f9a15bd4aefed7d3d3b (diff)
downloadrpg-5400331dc67bbcd5a576915d202a00018f66ff4c.tar.gz
rpg-5400331dc67bbcd5a576915d202a00018f66ff4c.tar.bz2
no secedit buttons in preview
darcs-hash:20050425185235-9977f-d4d643c88a76c9883853677e9925ef953d0d13c5.gz
-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;