mirror of
https://github.com/smarty-php/smarty.git
synced 2026-04-28 18:02:07 +02:00
- bugfix a plugin with attached modifier could fail
if the tag was immediately followed by another Smarty tag (since 3.1.21) (forum 25326)
This commit is contained in:
@@ -3667,14 +3667,14 @@ class Smarty_Internal_Templateparser#line 80 "smarty_internal_templateparser.php
|
||||
function yy_r35()
|
||||
{
|
||||
$this->_retvalue = '<?php ob_start();?>' . $this->compiler->compileTag($this->yystack[$this->yyidx + - 2]->minor, $this->yystack[$this->yyidx + 0]->minor) . '<?php echo ';
|
||||
$this->_retvalue .= $this->compiler->compileTag('private_modifier', array(), array('modifierlist' => $this->yystack[$this->yyidx + - 1]->minor, 'value' => 'ob_get_clean()')) . '?>';
|
||||
$this->_retvalue .= $this->compiler->compileTag('private_modifier', array(), array('modifierlist' => $this->yystack[$this->yyidx + - 1]->minor, 'value' => 'ob_get_clean()')) . ';?>';
|
||||
}
|
||||
#line 2447 "smarty_internal_templateparser.php"
|
||||
#line 380 "smarty_internal_templateparser.y"
|
||||
function yy_r36()
|
||||
{
|
||||
$this->_retvalue = '<?php ob_start();?>' . $this->compiler->compileTag($this->yystack[$this->yyidx + - 4]->minor, $this->yystack[$this->yyidx + 0]->minor, array('object_method' => $this->yystack[$this->yyidx + - 2]->minor)) . '<?php echo ';
|
||||
$this->_retvalue .= $this->compiler->compileTag('private_modifier', array(), array('modifierlist' => $this->yystack[$this->yyidx + - 1]->minor, 'value' => 'ob_get_clean()')) . '?>';
|
||||
$this->_retvalue .= $this->compiler->compileTag('private_modifier', array(), array('modifierlist' => $this->yystack[$this->yyidx + - 1]->minor, 'value' => 'ob_get_clean()')) . ';?>';
|
||||
}
|
||||
#line 2453 "smarty_internal_templateparser.php"
|
||||
#line 386 "smarty_internal_templateparser.y"
|
||||
|
||||
Reference in New Issue
Block a user