AW: [SMARTY] Incompatibility in IF-Statement again
| From: | Rainer Collet | Date: | Mon, 10 Feb 2003 16:28:06 +0000 |
| Subject: | AW: [SMARTY] Incompatibility in IF-Statement again | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-7624@lists.php.net to get a copy of this message | ||
sorry, you are right, #1 is only a problem, if smarty is in secure-mode and
you did not delete templates_c/* after upgrade to 2.4.1 -> it is no real
problem can stay for me ;-)
it's a pitty, that #2 will still remain a problem for me, perhaps you can
tell me the right code locations so that i can search for a solution on my
own.
thanks,
rainer
> #1 works fine for me. ??
>
> #2 there is a recursion problem that won't work with regular
> expressions. You can have modifiers in object call parameters, but not
> the other way around. It's the same reason why you can't have objects
> passed as parameters to objects. Pre Smarty 2.4.0, the parser didn't do
> strict syntax checking and passed a lot of things straight to PHP.
> > 1. {if $var == true} / {if $var == false} doesn't work any more
> > 2. {$var|modifier:$object->prob} doesn't work any more