mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-04 18:34:27 +02:00
- bugfix $smarty_>debugging = true; did E_NOTICE messages when {eval} tag was used https://github.com/smarty-php/smarty/issues/266
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
===== 3.1.31-dev ===== (xx.xx.xx)
|
||||
|
||||
14.08.2016
|
||||
- bugfix $smarty_>debugging = true; did E_NOTICE messages when {eval} tag was used https://github.com/smarty-php/smarty/issues/266
|
||||
|
||||
===== 3.1.30 ===== (07.08.2016)
|
||||
|
||||
|
@@ -121,7 +121,7 @@ class Smarty extends Smarty_Internal_TemplateBase
|
||||
/**
|
||||
* smarty version
|
||||
*/
|
||||
const SMARTY_VERSION = '3.1.31-dev/1';
|
||||
const SMARTY_VERSION = '3.1.31-dev/2';
|
||||
|
||||
/**
|
||||
* define variable scopes
|
||||
|
@@ -52,7 +52,7 @@ class Smarty_Internal_Debug extends Smarty_Internal_Data
|
||||
*/
|
||||
public function start_template(Smarty_Internal_Template $template, $mode = null)
|
||||
{
|
||||
if (isset($mode)) {
|
||||
if (isset($mode) && (!isset($template->parent) || $template->parent->_objType !== 2)) {
|
||||
$this->index ++;
|
||||
$this->offset ++;
|
||||
$this->template_data[ $this->index ] = null;
|
||||
|
Reference in New Issue
Block a user