mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-05 10:54:27 +02:00
- bugfix E_NOTICE message was created during compilation when ASP tags '<%' or '%>' are in template source text
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
===== 3.1.22-dev ===== (xx.xx.2014)
|
||||
- bugfix E_NOTICE message was created during compilation when ASP tags '<%' or '%>' are in template source text
|
||||
|
||||
===== 3.1.21 ===== (18.10.2014)
|
||||
18.10.2014
|
||||
- composer moved to github
|
||||
|
@@ -3453,20 +3453,20 @@ class Smarty_Internal_Templateparser#line 80 "smarty_internal_templateparser.php
|
||||
function yy_r11()
|
||||
{
|
||||
if ($this->php_handling == Smarty::PHP_PASSTHRU) {
|
||||
$this->_retvalue = new _smarty_text($this, st);
|
||||
$this->_retvalue = new _smarty_text($this, $this->yystack[$this->yyidx + 0]->minor);
|
||||
} elseif ($this->php_handling == Smarty::PHP_QUOTE) {
|
||||
$this->_retvalue = new _smarty_text($this, htmlspecialchars('%>', ENT_QUOTES));
|
||||
} elseif ($this->php_handling == Smarty::PHP_ALLOW) {
|
||||
if ($this->asp_tags) {
|
||||
$this->_retvalue = new _smarty_tag($this, $this->compiler->processNocacheCode('%>', true));
|
||||
} else {
|
||||
$this->_retvalue = new _smarty_text($this, st);
|
||||
$this->_retvalue = new _smarty_text($this, $this->yystack[$this->yyidx + 0]->minor);
|
||||
}
|
||||
} elseif ($this->php_handling == Smarty::PHP_REMOVE) {
|
||||
if ($this->asp_tags) {
|
||||
$this->_retvalue = null;
|
||||
} else {
|
||||
$this->_retvalue = new _smarty_text($this, st);
|
||||
$this->_retvalue = new _smarty_text($this, $this->yystack[$this->yyidx + 0]->minor);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user