mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-01-03 12:47:17 -06:00
Bug fix in converter
This commit is contained in:
parent
3682467ae3
commit
1e724712e0
@ -33,7 +33,7 @@ class CurrencyName extends BasicConverter implements ConverterInterface
|
||||
$value = trim($value);
|
||||
Log::debug('Going to convert using CurrencyName', ['value' => $value]);
|
||||
|
||||
if ($value === 0) {
|
||||
if (strlen($value) === 0) {
|
||||
$this->setCertainty(0);
|
||||
return new TransactionCurrency;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user