add zindex to popup init, fix error message for eval.

This commit is contained in:
mohrt
2002-06-29 16:04:41 +00:00
parent 64605530fb
commit eacfdadf4b
5 changed files with 19 additions and 6 deletions

View File

@@ -12,8 +12,8 @@ function smarty_function_eval($params, &$this)
{
extract($params);
if (empty($var)) {
$this->trigger_error("assign: missing 'var' parameter");
if (!isset($var)) {
$this->trigger_error("eval: missing 'var' parameter");
return;
}