Tell gnucash that a currency quote failed instead of just abandoning

the request.  Fixes #344546.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14359 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
David Hampton 2006-06-14 00:04:59 +00:00
parent 85e56e2e95
commit 488af225cc
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2006-06-13 David Hampton <hampton@employees.org>
* src/quotes/gnc-fq-helper.in: Tell gnucash that a currency quote
failed instead of just abandoning the request. Fixes #344546.
2006-06-12 David Hampton <hampton@employees.org>
* src/engine/Account.c: When committing an account during the

View File

@ -341,9 +341,8 @@ while(<>) {
last unless $to_currency;
my $price = $quoter->currency($from_currency, $to_currency);
last unless $price;
$quote_data{$from_currency, "success"} = 1;
$quote_data{$from_currency, "success"} = defined($price);
$quote_data{$from_currency, "symbol"} = $from_currency;
$quote_data{$from_currency, "currency"} = $to_currency;
$quote_data{$from_currency, "last"} = $price;