wrong error message for eval
| From: | Jens Lehmann | Date: | Sat, 29 Jun 2002 11:05:06 +0000 |
| Subject: | wrong error message for eval | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-5095@lists.php.net to get a copy of this message | ||
There is a mistake in funtion.eval.php. The error message
should be "eval: missing 'var' parameter".
Please check other functions for the appropriate error messages,
because this is not the first time I found this kind of bug.
By the way the error is triggered if there is no var-parameter
or if this parameter is empty. I don't know if this is the
wanted behaviour, because it could be confusing.
Jens