fix bug with last_modified_check code

This commit is contained in:
mohrt
2002-06-07 14:02:37 +00:00
parent 85b1375221
commit c376520d50
2 changed files with 6 additions and 2 deletions

View File

@@ -609,6 +609,8 @@ class Smarty
header("Last-Modified: ".$gmt_mtime); header("Last-Modified: ".$gmt_mtime);
echo $_smarty_results; echo $_smarty_results;
} }
} else {
echo $_smarty_results;
} }
error_reporting($_smarty_old_error_level); error_reporting($_smarty_old_error_level);
return true; return true;

View File

@@ -609,6 +609,8 @@ class Smarty
header("Last-Modified: ".$gmt_mtime); header("Last-Modified: ".$gmt_mtime);
echo $_smarty_results; echo $_smarty_results;
} }
} else {
echo $_smarty_results;
} }
error_reporting($_smarty_old_error_level); error_reporting($_smarty_old_error_level);
return true; return true;