mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-05-04 21:23:36 +00:00
Fix tests.
This commit is contained in:
@@ -71,7 +71,7 @@ class CurrencyMapper
|
||||
return $result;
|
||||
}
|
||||
}
|
||||
if (null === $data['code']) {
|
||||
if (!isset($data['code']) || $data['code'] === null) {
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user