From 77e3bb5d26ccded3cfdffadd197e2b534327e09f Mon Sep 17 00:00:00 2001 From: andrey Date: Fri, 22 Mar 2002 19:21:39 +0000 Subject: [PATCH] *** empty log message *** --- Smarty.class.php | 2 +- libs/Smarty.class.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Smarty.class.php b/Smarty.class.php index 75ef2cdc..32c6eb4a 100644 --- a/Smarty.class.php +++ b/Smarty.class.php @@ -482,7 +482,7 @@ class Smarty \*======================================================================*/ function fetch($_smarty_tpl_file, $_smarty_cache_id = null, $_smarty_compile_id = null, $_smarty_display = false) { - $_smarty_old_error_level = error_reporting(E_ALL & ~E_NOTICE); + $_smarty_old_error_level = error_reporting(error_reporting() & ~E_NOTICE); if (!$this->debugging && $this->debugging_ctrl == 'URL' && strstr($GLOBALS['QUERY_STRING'], $this->_smarty_debug_id)) { diff --git a/libs/Smarty.class.php b/libs/Smarty.class.php index 75ef2cdc..32c6eb4a 100644 --- a/libs/Smarty.class.php +++ b/libs/Smarty.class.php @@ -482,7 +482,7 @@ class Smarty \*======================================================================*/ function fetch($_smarty_tpl_file, $_smarty_cache_id = null, $_smarty_compile_id = null, $_smarty_display = false) { - $_smarty_old_error_level = error_reporting(E_ALL & ~E_NOTICE); + $_smarty_old_error_level = error_reporting(error_reporting() & ~E_NOTICE); if (!$this->debugging && $this->debugging_ctrl == 'URL' && strstr($GLOBALS['QUERY_STRING'], $this->_smarty_debug_id)) {