Re: [SMARTY-DEV] Bug with default modifier 2.6.0rc1

From: Date: Thu, 18 Sep 2003 20:01:15 +0000
Subject: Re: [SMARTY-DEV] Bug with default modifier 2.6.0rc1
References: 1  Groups: php.smarty.dev 
Request: Send a blank email to php-smarty-dev+get-1874@lists.php.net to get a copy of this message
On Thu, Sep 18, 2003 at 03:13:43PM -0400, Rémy Dufour wrote: > 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] yes, this is a bug that Jan Rosier reported recently and that is fixed in cvs. you can try the cvs version of smarty or grab a daily cvs-snapshot from http://lammfellpuschen.de/smarty-daily/ . the snapshots a highly unofficial and i cannot guarantee a lot of support for that service but it may help people who don't want to tamper with cvs and also don't want to wait for RC2. BTW: cvs-HEAD is quite stable at the moment and will stay that until 2.6.0 is released. greetings messju > but when i use double quote ... > {$foo|default:"N/D} > ... all is ok ! > > Is this a bug or am i missing something ? > > -- > Smarty Development Mailing List (http://smarty.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.smarty.dev (#1874) next »