Re: [SMARTY] Weird syntax error
| From: | Duncan Hill | Date: | Tue, 10 Jun 2003 15:41:57 +0000 |
| Subject: | Re: [SMARTY] Weird syntax error | ||
| References: | 1 2 3 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-9695@lists.php.net to get a copy of this message | ||
On Tuesday 10 June 2003 16:28, Pete Morganic wrote:
> Try using
> {if $on_overview == "Y"}
Nope. The problem was magic_quotes were being applied to quotes in the
template. So the string, as far as the compiler was concerned, looked like:
if $on_overview == \"Y\"
which it couldn't handle.