Skip to content
Snippets Groups Projects
Commit 11c78c94 authored by Andreas Gohr's avatar Andreas Gohr
Browse files

correctly preview no text FS#1945

parent be66694c
No related branches found
No related tags found
No related merge requests found
......@@ -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');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment