X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/1b95831af24aa5f3bc731c5e89778f3a4ed04082..a53233e56a9d4001b47bcf412b4bfe46910d3117:/bin/mozilla/do.pl diff --git a/bin/mozilla/do.pl b/bin/mozilla/do.pl index ade606bbd..911c90edb 100644 --- a/bin/mozilla/do.pl +++ b/bin/mozilla/do.pl @@ -671,8 +671,8 @@ sub invoice { $form->{currency} = $currency; $form->{exchangerate} = ""; - $form->{forex} = ($exchangerate = $form->check_exchangerate(\%myconfig, $form->{currency}, $form->{invdate}, $buysell)); - $form->{exchangerate} = $exchangerate if ($form->{forex}); + $form->{forex} = $form->check_exchangerate(\%myconfig, $form->{currency}, $form->{invdate}, $buysell); + $form->{exchangerate} = $form->{forex} if ($form->{forex}); prepare_invoice();