minor bugfix when processing autoliteral { php} tag. Does not effect generated output.

This commit is contained in:
Uwe Tews
2015-05-23 23:40:02 +02:00
parent 0356b70578
commit c9cd39f36f
3 changed files with 1 additions and 2 deletions

View File

@@ -101,6 +101,7 @@ class Smarty_Internal_Compile_Private_Php extends Smarty_Internal_CompileBase
*/
public function parsePhp($lex)
{
$lex->token = Smarty_Internal_Templateparser::TP_PHP;
$close = 0;
$lex->taglineno = $lex->line;
$closeTag = '?>';