Skip to content

Commit b788000

Browse files
DavRetdkd-kaehm
authored andcommitted
[BUGFIX] PageFieldMappingIndexer: avoid undefined array key via null coalescing (refs #4395)
1 parent 7deb9ea commit b788000

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Classes/IndexQueue/FrontendHelper/PageFieldMappingIndexer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ protected function resolveFieldValue(string $solrFieldName, Document $pageDocume
120120
$fieldValue = unserialize($fieldValue);
121121
}
122122
} else {
123-
$fieldValue = $pageRecord[$pageIndexingConfiguration[$solrFieldName]];
123+
$fieldValue = $pageRecord[$pageIndexingConfiguration[$solrFieldName]] ?? null;
124124
}
125125

126126
return $fieldValue;

0 commit comments

Comments
 (0)