Re: Future

From: Date: Thu, 21 Mar 2002 21:49:00 +0000
Subject: Re: Future
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-3255@lists.php.net to get a copy of this message
> is it possible to add something to check. > > Because if i use {$foo|deafult='test'} and if i have error detection > in php set to ALL i got anoyng warnings. Could this be solved. I have an extended object, which overrides the error messages in Smarty fetch calls. You can extend the Smarty object, redefine fetch, setting error reporting to E_ALL ^ E_NOTICE, and then calling parent::fetch, and the setting error reporting back to the previous setting... This is what also works, if you have variables not set from templates... Goba

« previous php.smarty.general (#3255) next »