From d8a71ebd61bc2781486fbf18dd079e86abbf6c50 Mon Sep 17 00:00:00 2001 From: Matthias Meusburger Date: Fri, 4 Dec 2009 11:09:13 +0100 Subject: [PATCH] MT 2426 : Default currency is chosen for price calculation when bookseller's listprice is NULL --- acqui/neworderempty.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/acqui/neworderempty.pl b/acqui/neworderempty.pl index 1bbb71f133..9fb1870de9 100755 --- a/acqui/neworderempty.pl +++ b/acqui/neworderempty.pl @@ -339,7 +339,7 @@ $template->param( name => $bookseller->{'name'}, cur_active_sym => $cur->{'symbol'}, cur_active => $cur->{'currency'}, - currency => $bookseller->{'listprice'}, # eg: 'EUR' + currency => $bookseller->{'listprice'} || $cur->{'currency'}, # eg: 'EUR' loop_currencies => \@loop_currency, orderexists => ( $new eq 'yes' ) ? 0 : 1, title => $data->{'title'}, -- 2.39.5