mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-05 02:44:27 +02:00
fixed handling of {php}-tags
This commit is contained in:
@@ -546,7 +546,7 @@ class Smarty_Compiler extends Smarty {
|
||||
$this->_syntax_error("(secure mode) php tags not permitted", E_USER_WARNING, __FILE__, __LINE__);
|
||||
return;
|
||||
}
|
||||
return '<?php ' . $block[4] .' ?>';
|
||||
return '<?php ' . $block[3] .' ?>';
|
||||
}
|
||||
break;
|
||||
|
||||
|
Reference in New Issue
Block a user