For Programmers: Free Programming Magazines  


Home > Archive > PHP Smarty Templates > September 2004 > Re: [SMARTY] Re: object calls fail after upgrade to 2.6.4









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: [SMARTY] Re: object calls fail after upgrade to 2.6.4
Hans

2004-09-09, 4:01 pm

On Thu, 9 Sep 2004, Monte Ohrt wrote:

> objects as params to objects has never been supported:
>
> {$obj->meth($foo->var))}


Hmm, but it worked in 2.6.3, I have a lot of code relying on it. Even this
used to work, and doesn't anymore:

{$obj->meth($foo->var.bar)}
=> $this->_tpl_vars['foo']->var['bar']

Also, messju is right, the case where the first argument is a numeric
constant is still broken.

Hans
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com