fixed handling of {php}-tags

This commit is contained in:
messju
2004-01-10 23:43:07 +00:00
parent e238784674
commit 92d6489001

View File

@@ -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;