mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-05-04 21:23:36 +00:00
Clean up code for import routine.
This commit is contained in:
@@ -339,7 +339,7 @@ class ImportJournal
|
||||
throw new FireflyException('No amount information for this row.');
|
||||
}
|
||||
$class = $info['class'] ?? '';
|
||||
if (strlen($class) === 0) {
|
||||
if (0 === strlen($class)) {
|
||||
throw new FireflyException('No amount information (conversion class) for this row.');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user