From c376520d503620df1d685d0ffa8c2d271bd40486 Mon Sep 17 00:00:00 2001 From: mohrt Date: Fri, 7 Jun 2002 14:02:37 +0000 Subject: [PATCH] fix bug with last_modified_check code --- Smarty.class.php | 4 +++- libs/Smarty.class.php | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) 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 {