Re: [SMARTY] Possible bug in math plugin?

From: Date: Sun, 06 Apr 2003 12:05:58 +0000
Subject: Re: [SMARTY] Possible bug in math plugin?
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-9146@lists.php.net to get a copy of this message
Hello Alan, this fonction is : {math equation="x+y" x=var_x y=var_y assign=total} see the doc or i have bad see the doc ;) -- Cordialement, Elgi Le dimanche 6 avril 2003 à 14:01:46, vous écriviez : AM> I've discovered an annoying little bug in the {math} plugin: AM> The expression: AM> {math equation="long_var" long_var=0 assign="long_var"} AM> fails with the following error: AM> Warning: Smarty error: math: parameter long not passed as argument in AM> x:\path\Smarty\Smarty.class.php on line 1040 AM> It appears that the expression evaluator cannot cope with long variable AM> names (those containing the underscore '_' character) AM> Whilst I accept that this may not be a true bug, it is damn irritating at AM> times!

« previous php.smarty.general (#9146) next »