mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-16 17:33:45 +00:00
Bug fix in converter
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user