MT 2426 : Default currency is chosen for price calculation when bookseller's listprice is NULL

This commit is contained in:
Matthias Meusburger 2009-12-04 11:09:13 +01:00 committed by Henri-Damien LAURENT
parent 6281ed6b91
commit d8a71ebd61
1 changed files with 1 additions and 1 deletions

View File

@ -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'},