From 0cdbb920e65e3d582ad025cc4d450e267b8474e7 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Mon, 5 Mar 2007 14:41:33 +0000 Subject: [PATCH] Teilung durch 0 vermeiden. --- bin/mozilla/ir.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 "") -- 2.20.1