Re: [SMARTY-DEV] Re: 'default'-modifier causes a php-notice

From: Date: Sat, 15 Mar 2003 16:17:28 +0000
Subject: Re: [SMARTY-DEV] Re: 'default'-modifier causes a php-notice
References: 1 2  Groups: php.smarty.dev 
Request: Send a blank email to php-smarty-dev+get-954@lists.php.net to get a copy of this message
On Wed, 12 Mar 2003 22:52:48 +0100, Messju Mohr wrote: > i don't know if smarty proclaims to be notice-free in all circumstances. > if so, another possible solution would be to make "default" a fully > internal modifier or to make all modifier-calls silent by prepending > an @ before the method call. Havning the same problem, and feel that here it SHOULD be notice-free... the @ operator doesn't work either.... {@$header|default:"no title"} syntax error: unrecognized tag: @$header|default:"no title" @ is generally very broken... and a bad way to solve notices... -- Tom Sommer, denmark www.tsn.dk - www.dreamcoder.dk

« previous php.smarty.dev (#954) next »