- bugfix variable property did not work on objects variable in template

This commit is contained in:
uwe.tews@googlemail.com
2011-09-27 17:52:21 +00:00
parent 5c33be7fc0
commit 0348e71109
2 changed files with 2 additions and 11 deletions
@@ -1,14 +1,4 @@
<?php
/**
* Smarty Internal Plugin Templateparser
*
* This is the template parser.
* It is generated from the internal.templateparser.y file
* @package Smarty
* @subpackage Compiler
* @author Uwe Tews
*/
class TP_yyToken implements ArrayAccess
{
public $string = '';
@@ -2805,7 +2795,7 @@ static public $yy_action = array(
if ($this->security) {
$this->compiler->trigger_template_error (self::Err2);
}
$this->_retvalue = '->{'.$this->compileVariable("'".$this->yystack[$this->yyidx + -1]->minor."'").$this->yystack[$this->yyidx + 0]->minor.'}';
$this->_retvalue = '->{'.$this->compileVariable($this->yystack[$this->yyidx + -1]->minor).$this->yystack[$this->yyidx + 0]->minor.'}';
}
#line 2806 "smarty_internal_templateparser.php"
#line 931 "smarty_internal_templateparser.y"