Re: [SMARTY] default modifier generates notice
| From: | messju mohr | Date: | Tue, 02 Mar 2004 18:13:56 +0000 |
| Subject: | Re: [SMARTY] default modifier generates notice | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-11040@lists.php.net to get a copy of this message | ||
On Tue, Mar 02, 2004 at 05:05:58PM +0200, David Förster wrote:
> Hello,
>
> when I use the default modifier for a simple variable which is not set
> the default value is printed but there's also a warning saying the
> variable is not set.
>
> Is there any way to supress that notice?
just as in php: lower the error-reporting.
> I had a look into the comiled templated but there is only a check if the
> variable is an array.
>
> - david