mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-22 15:43:51 +00:00
Fix loading data for customfield, using proper DI
This commit is contained in:
@@ -353,7 +353,7 @@ class LoadPostalCodes extends AbstractFixture implements OrderedFixtureInterface
|
||||
->setCode($code[0])
|
||||
->setName(ucwords(strtolower($code[1])));
|
||||
|
||||
if (null !== $code[3]) {
|
||||
if (null !== ($code[3] ?? null)) {
|
||||
$c->setRefPostalCodeId($code[3]);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user