mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-05 10:54:27 +02:00
- bugfix variable property did not work on objects variable in template
This commit is contained in:
@@ -3,6 +3,7 @@
|
|||||||
- bugfix possible warning "attempt to modify property of non-object" in {section} (issue #34)
|
- bugfix possible warning "attempt to modify property of non-object" in {section} (issue #34)
|
||||||
- added chaining to Smarty_Internal_Data so $smarty->assign('a',1)->assign('b',2); is possible now
|
- added chaining to Smarty_Internal_Data so $smarty->assign('a',1)->assign('b',2); is possible now
|
||||||
- bugfix remove race condition when a custom resource did change timestamp during compilation
|
- bugfix remove race condition when a custom resource did change timestamp during compilation
|
||||||
|
- bugfix variable property did not work on objects variable in template
|
||||||
|
|
||||||
26.09.2011
|
26.09.2011
|
||||||
- bugfix repeated calls to same subtemplate did not make use of cached template object
|
- bugfix repeated calls to same subtemplate did not make use of cached template object
|
||||||
|
@@ -1,14 +1,4 @@
|
|||||||
<?php
|
<?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
|
class TP_yyToken implements ArrayAccess
|
||||||
{
|
{
|
||||||
public $string = '';
|
public $string = '';
|
||||||
@@ -2805,7 +2795,7 @@ static public $yy_action = array(
|
|||||||
if ($this->security) {
|
if ($this->security) {
|
||||||
$this->compiler->trigger_template_error (self::Err2);
|
$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 2806 "smarty_internal_templateparser.php"
|
||||||
#line 931 "smarty_internal_templateparser.y"
|
#line 931 "smarty_internal_templateparser.y"
|
||||||
|
Reference in New Issue
Block a user