Smarty_Compiler.class.php

This commit is contained in:
messju
2004-04-16 07:53:37 +00:00
parent d85cbe84ec
commit 729ebe26ed
10 changed files with 46 additions and 20 deletions

View File

@@ -20,7 +20,7 @@
function smarty_function_eval($params, &$smarty)
{
if (!isset($params['var'])) {
if (!array_key_exists('var', $params)) {
$smarty->trigger_error("eval: missing 'var' parameter");
return;
}