From 8faf0b902a8e705c2955324188646401e3c15179 Mon Sep 17 00:00:00 2001 From: mohrt Date: Tue, 23 Oct 2001 19:50:04 +0000 Subject: [PATCH] fix indent for insert tags in debug console --- Smarty.class.php | 4 ++-- libs/Smarty.class.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Smarty.class.php b/Smarty.class.php index 99b85e02..c8b0a145 100644 --- a/Smarty.class.php +++ b/Smarty.class.php @@ -965,7 +965,7 @@ function _generate_debug_output() { if ($this->debugging) { $this->_included_tpls[] = array('type' => 'insert', 'filename' => 'insert_'.$name, - 'depth' => ++$this->_inclusion_depth, + 'depth' => $this->_inclusion_depth, 'exec_time' => $this->_get_microtime() - $debug_start_time); } } @@ -994,7 +994,7 @@ function _run_insert_handler($args) if ($this->debugging) { $this->_included_tpls[] = array('type' => 'insert', 'filename' => 'insert_'.$args['name'], - 'depth' => ++$this->_inclusion_depth, + 'depth' => $this->_inclusion_depth, 'exec_time' => $this->_get_microtime() - $debug_start_time); } return $content; diff --git a/libs/Smarty.class.php b/libs/Smarty.class.php index 99b85e02..c8b0a145 100644 --- a/libs/Smarty.class.php +++ b/libs/Smarty.class.php @@ -965,7 +965,7 @@ function _generate_debug_output() { if ($this->debugging) { $this->_included_tpls[] = array('type' => 'insert', 'filename' => 'insert_'.$name, - 'depth' => ++$this->_inclusion_depth, + 'depth' => $this->_inclusion_depth, 'exec_time' => $this->_get_microtime() - $debug_start_time); } } @@ -994,7 +994,7 @@ function _run_insert_handler($args) if ($this->debugging) { $this->_included_tpls[] = array('type' => 'insert', 'filename' => 'insert_'.$args['name'], - 'depth' => ++$this->_inclusion_depth, + 'depth' => $this->_inclusion_depth, 'exec_time' => $this->_get_microtime() - $debug_start_time); } return $content;