diff options
author | Andreas Gohr <andi@splitbrain.org> | 2010-05-08 14:31:57 +0200 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2010-05-08 14:31:57 +0200 |
commit | 11c78c94cd43872c1fa380e70027d33226174aba (patch) | |
tree | 34568e9ce599b92af0d817007ae697a2f3b8bbd3 | |
parent | be66694cc5d4ff7cad1467f20ab1e55611c97ff6 (diff) | |
download | rpg-11c78c94cd43872c1fa380e70027d33226174aba.tar.gz rpg-11c78c94cd43872c1fa380e70027d33226174aba.tar.bz2 |
correctly preview no text FS#1945
-rw-r--r-- | inc/html.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/inc/html.php b/inc/html.php index 4a4cf2739..c4eb62bc8 100644 --- a/inc/html.php +++ b/inc/html.php @@ -217,7 +217,7 @@ function html_btn($name,$id,$akey,$params,$method='get',$tooltip=''){ * * @author Andreas Gohr <andi@splitbrain.org> */ -function html_show($txt=''){ +function html_show($txt=null){ global $ID; global $REV; global $HIGH; @@ -229,7 +229,7 @@ function html_show($txt=''){ $secedit = true; } - if ($txt){ + if (!is_null($txt)){ //PreviewHeader echo '<br id="scroll__here" />'; echo p_locale_xhtml('preview'); |