mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-04 18:34: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__);
|
$this->_syntax_error("(secure mode) php tags not permitted", E_USER_WARNING, __FILE__, __LINE__);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
return '<?php ' . $block[4] .' ?>';
|
return '<?php ' . $block[3] .' ?>';
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user