mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
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:
parent
85e56e2e95
commit
488af225cc
@ -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
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user