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

From: Date: Sat, 15 Mar 2003 20:23:04 +0000
Subject: Re: [SMARTY-DEV] Re: 'default'-modifier causes a php-notice
References: 1 2 3 4 5 6 7 8  Groups: php.smarty.dev 
Request: Send a blank email to php-smarty-dev+get-964@lists.php.net to get a copy of this message
On Sat, Mar 15, 2003 at 02:18:03PM -0600, Monte Ohrt wrote: > What do you mean it ignored any @ operator? In the templates? There > shouldn't be any @ operators in the templates. > > I guess we need to make a choice: should display of an undefined > template variable show a notification message or not.... for me: make a call to the default-modifier silent, but no other uses of undefined vars. other notices are useful in development and can be suppressed easily with error_reporting() or ini_set(). > Monte > > On Sat, 2003-03-15 at 14:08, Tom Sommer wrote: > > On 15 Mar 2003 13:35:17 -0600, Monte Ohrt wrote: > > > > > That should have fixed all parameters to any modifier. > > > > > I committed another patch to fix template var notices, give it another > > > shot. > > > > The way it worked before this new patch was fine... the only problem was > > that it ignored any @ operator, which it should not > > > > > > the lastest CVS changes suppresses _ALL_ notices of undefined variables, > > which makes Smarty impossible to work with > > > > -- > > Tom Sommer, denmark > > www.tsn.dk - www.dreamcoder.dk > -- > Monte Ohrt <monte@ispi.net> > > > -- > Smarty Development Mailing List (http://smarty.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php -- Polymorphie: Der Fehler tritt in vielerlei Gestalt auf. Kristian Köhntopp

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