Re: [SMARTY] assign & assign_by_ref

"messju mohr" <[email protected]>
Newsgroups gmane.comp.php.smarty.general
Message-ID <20050809142809.GA15586@dune>
On Tue, Aug 16, 2005 at 03:38:27AM +0100, Pedro wrote:
> I've developed/inherited a few apps where assign_by_ref() is used
> and am also using php5 which throws the error
> 
> Fatal error: Only variables can be passed by reference in 
> e:\max\cca\appo\admin.menu.inc.php on line 49
>
> Is there a way to make Smarty correct this by detecting php5 ???

no. you have to fix that yourself in admin.menu.inc.php on line 49.
e.g. only pass references as 2nd param to assign_by_ref().

> Pete

-- 
Smarty General Mailing List (http://smarty.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.