diff --git a/Smarty.class.php b/Smarty.class.php index 68591ce9..510365db 100644 --- a/Smarty.class.php +++ b/Smarty.class.php @@ -609,7 +609,9 @@ class Smarty header("Last-Modified: ".$gmt_mtime); echo $_smarty_results; } - } + } else { + echo $_smarty_results; + } error_reporting($_smarty_old_error_level); return true; } else { diff --git a/libs/Smarty.class.php b/libs/Smarty.class.php index 68591ce9..510365db 100644 --- a/libs/Smarty.class.php +++ b/libs/Smarty.class.php @@ -609,7 +609,9 @@ class Smarty header("Last-Modified: ".$gmt_mtime); echo $_smarty_results; } - } + } else { + echo $_smarty_results; + } error_reporting($_smarty_old_error_level); return true; } else {