mirror of
https://github.com/Gnucash/gnucash.git
synced 2026-09-03 20:53:02 -05: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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user