Re: [SMARTY] wrong error message for eval
| From: | Monte Ohrt | Date: | Sat, 29 Jun 2002 15:59:32 +0000 |
| Subject: | Re: [SMARTY] wrong error message for eval | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-5099@lists.php.net to get a copy of this message | ||
Thanks for the info. Alas, I don't have time to sift through code doing quality control on error messages, but I do fix problems that get reported.
Monte
Jens Lehmann wrote:
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