|
@@ -251,7 +251,7 @@ |
|
|
block discarded – undo |
|
251
|
251
|
$result = []; |
|
252
|
252
|
foreach ($objectAccess->getGetterFields($reflectionClass) as $denormalizedFieldName) { |
|
253
|
253
|
$fieldName = $this->nameConverter->normalize($denormalizedFieldName, $reflectionClass->name, $format, $context); |
|
254
|
|
- $value = $objectAccess->getValue($object, $denormalizedFieldName); |
|
|
254
|
+ $value = $objectAccess->getValue($object, $denormalizedFieldName); |
|
255
|
255
|
// circular reference |
|
256
|
256
|
if (is_object($value) && in_array($value, $context['object_hierarchy'], true)) { |
|
257
|
257
|
continue; |
Please login to merge, or discard this patch.