Bug with default modifier 2.6.0rc1
| From: | Rémy Dufour | Date: | Thu, 18 Sep 2003 19:13:43 +0000 |
| Subject: | Bug with default modifier 2.6.0rc1 | ||
| Groups: | php.smarty.dev | ||
| Request: | Send a blank email to php-smarty-dev+get-1873@lists.php.net to get a copy of this message | ||
Im trying version 2.6.0RC1.
when i put a / (slash) in the default modifier with single quote ...
{$foo|default:'N/D'}
... i got this bug :
Warning: Division by zero in D:\dev\sys\tmp\smTemplate\[myfile]
but when i use double quote ...
{$foo|default:"N/D}
... all is ok !
Is this a bug or am i missing something ?