[-] FO: Fix #PSCFV-4992
This commit is contained in:
1 parent
78f557c29f
commit
a0422e94de
3 files changed
+16
-11
No files matched your search
@@ -496,7 +496,8 @@ class AddressFormatCore extends ObjectModel
|
||||
$reflect = new ReflectionObject($address);
|
||||
$public_properties = $reflect->getProperties(ReflectionProperty::IS_PUBLIC);
|
||||
foreach ($public_properties as $property)
|
||||
$layoutData['object'][$property->getName()] = $address->{$property->getName()};
|
||||
if (isset($address->{$property->getName()}))
|
||||
$layoutData['object'][$property->getName()] = $address->{$property->getName()};
|
||||
}
|
||||
return $layoutData;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user