Bug fix in converter

This commit is contained in:
James Cole 2016-07-29 21:42:12 +02:00
parent 3682467ae3
commit 1e724712e0

View File

@ -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;
}