Réf. : Re: [SMARTY] "if" with "or"-problem
| From: | philippe dot morange at ca-indosuez dot com | Date: | Thu, 03 Apr 2003 12:10:25 +0000 |
| Subject: | Réf. : Re: [SMARTY] "if" with "or"-problem | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-9053@lists.php.net to get a copy of this message | ||
> {if (!$foo)}
> is not possible, you have to write
> {if (!($foo))}
I'm not sure with v2.5 RC2, but I used to write either
{if !$foo)} or
{if not $foo},
which both worked fine for me...