diff --git a/ChangeLog b/ChangeLog index fd7441369c..a47152eeff 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-06-13 David Hampton + + * 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 * src/engine/Account.c: When committing an account during the diff --git a/src/quotes/gnc-fq-helper.in b/src/quotes/gnc-fq-helper.in index 3cdfcc5b62..439f2f5a87 100644 --- a/src/quotes/gnc-fq-helper.in +++ b/src/quotes/gnc-fq-helper.in @@ -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;