Re: [SMARTY] Re: object calls fail after upgrade to 2.6.4
| From: | hans | Date: | Thu, 09 Sep 2004 14:34:30 +0000 |
| Subject: | Re: [SMARTY] Re: object calls fail after upgrade to 2.6.4 | ||
| References: | 1 2 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-11789@lists.php.net to get a copy of this message | ||
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