From 1e2fb8fbbede4a199156fd9e4cb6ec22c812afe9 Mon Sep 17 00:00:00 2001 From: "uwe.tews@googlemail.com" Date: Fri, 20 Jan 2012 14:52:50 +0000 Subject: [PATCH] - fixed typo in template parser --- change_log.txt | 3 ++- libs/sysplugins/smarty_internal_templateparser.php | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/change_log.txt b/change_log.txt index f89757b1..d9ed3c45 100644 --- a/change_log.txt +++ b/change_log.txt @@ -1,7 +1,8 @@ ===== trunk ===== -13.01.2012 +20.01.2012 - bugfix typo in Smarty_Internal_Get_IncludePath did cause runtime overhead (Issue 74) - improvment remove unneeded assigments (Issue 75 and 76) +- fixed typo in template parser 02.01.2012 - bugfix {block foo nocache} did not load plugins within child {block} in nocache mode (Forum Topic 20753) diff --git a/libs/sysplugins/smarty_internal_templateparser.php b/libs/sysplugins/smarty_internal_templateparser.php index e32461b8..94dca0ac 100644 --- a/libs/sysplugins/smarty_internal_templateparser.php +++ b/libs/sysplugins/smarty_internal_templateparser.php @@ -2299,7 +2299,7 @@ static public $yy_action = array( if ($this->strip) { $this->_retvalue = new _smarty_text($this, preg_replace('![\t ]*[\r\n]+[\t ]*!', '', self::escape_start_tag($this->yystack[$this->yyidx + 0]->minor))); } else { - $this->_retvalue = new _smarty_text($this, self::escape_start_tag(ö)); + $this->_retvalue = new _smarty_text($this, self::escape_start_tag($this->yystack[$this->yyidx + 0]->minor)); } } #line 2301 "smarty_internal_templateparser.php"