From a752396d4142da4c09bad97c335b4ba67ec287d9 Mon Sep 17 00:00:00 2001 From: "Uwe.Tews" Date: Sun, 22 Mar 2009 22:35:10 +0000 Subject: [PATCH] - updated paths in development folder --- libs/Smarty.class.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libs/Smarty.class.php b/libs/Smarty.class.php index 27d79b4d..d0a2b823 100644 --- a/libs/Smarty.class.php +++ b/libs/Smarty.class.php @@ -245,12 +245,12 @@ class Smarty extends Smarty_Internal_TemplateBase { // create template object if necessary ($template instanceof $this->template_class)? $_template = $template : $_template = $this->createTemplate ($template, $parent , $cache_id, $compile_id); -// $_smarty_old_error_level = $this->debugging ? error_reporting() : error_reporting(isset($this->error_reporting) -// ? $this->error_reporting : error_reporting() &~E_NOTICE); + $_smarty_old_error_level = $this->debugging ? error_reporting() : error_reporting(isset($this->error_reporting) + ? $this->error_reporting : error_reporting() &~E_NOTICE); // return redered template $_output = $_template->getRenderedTemplate(); $_template->rendered_content = null; -// error_reporting($_smarty_old_error_level); + error_reporting($_smarty_old_error_level); return $_output; }