From: Moritz Bunkus Date: Mon, 5 Mar 2007 14:41:33 +0000 (+0000) Subject: Teilung durch 0 vermeiden. X-Git-Tag: release-2.4.3^2~631 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=0cdbb920e65e3d582ad025cc4d450e267b8474e7;p=kivitendo-erp.git Teilung durch 0 vermeiden. --- diff --git a/bin/mozilla/ir.pl b/bin/mozilla/ir.pl index 78a0333e3..63325ca02 100644 --- a/bin/mozilla/ir.pl +++ b/bin/mozilla/ir.pl @@ -881,7 +881,7 @@ sub update { } $i = $form->{rowcount}; - $exchangerate = ($form->{exchangerate}) ? $form->{exchangerate} : 1; + $exchangerate = ($form->{exchangerate} * 1) ? $form->{exchangerate} * 1 : 1; if ( ($form->{"partnumber_$i"} eq "") && ($form->{"description_$i"} eq "")