Error in IF expression parser
| From: | Petr Weissar | Date: | Wed, 16 Apr 2003 14:06:46 +0000 |
| Subject: | Error in IF expression parser | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-9281@lists.php.net to get a copy of this message | ||
Hallo,
i'm using hexadecimal numbers in {if ...}{/if} statement in template.
From version 2.4.x (i think) are these numbers bad parsed.
File: Smarty_Compiler.class.php
Function: _compile_if_tag($tag_args, $elseif = false)
The regular expression must include string "\d+x" (information from my
friend) ....
Now must i repair it again in 2.5.0 .... Can be this adjustments
included in a new version of Smarty ? (though great software !!! :-)) ).
Regards,
Petr Weissar
P.S. Sorry for bad English :-((