From 30531673553bc83a944806586bd4226cd6ec336c Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Thu, 15 Feb 2007 13:37:05 +0000 Subject: [PATCH] =?utf8?q?Vermeidung=20von=20"durch=200=20Teilen"=20anstat?= =?utf8?q?t=20von=20"wenn's=20passiert,=20dann=20laut=20pfeifen=20und=20so?= =?utf8?q?=20tun,=20als=20w=C3=A4r=20nichts=20geschehen".?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- bin/mozilla/rp.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/mozilla/rp.pl b/bin/mozilla/rp.pl index 47d6d4b64..fef3355b5 100644 --- a/bin/mozilla/rp.pl +++ b/bin/mozilla/rp.pl @@ -2127,10 +2127,10 @@ sub statement_details { push @{ $form->{duedate} }, $ref->{duedate}; foreach $item (qw(c0 c30 c60 c90)) { - eval { + if ($ref->{exchangerate} * 1) { $ref->{$item} = $form->round_amount($ref->{$item} / $ref->{exchangerate}, 2); - }; + } $form->{"${item}total"} += $ref->{$item}; $form->{total} += $ref->{$item}; push @{ $form->{$item} }, -- 2.20.1