diff --git a/eZ/Publish/Core/Persistence/Legacy/Content/Mapper.php b/eZ/Publish/Core/Persistence/Legacy/Content/Mapper.php index dbff82beae2..8545fcd1157 100644 --- a/eZ/Publish/Core/Persistence/Legacy/Content/Mapper.php +++ b/eZ/Publish/Core/Persistence/Legacy/Content/Mapper.php @@ -361,7 +361,7 @@ public function extractVersionInfoListFromRows(array $rows, array $nameRows) $versionInfo->creationDate = (int)$row['ezcontentobject_version_created']; $versionInfo->modificationDate = (int)$row['ezcontentobject_version_modified']; $versionInfo->status = (int)$row['ezcontentobject_version_status']; - $versionInfo->names = $nameData[$versionId]; + $versionInfo->names = $nameData[$versionId] ?? []; $versionInfoList[$versionId] = $versionInfo; $versionInfo->languageCodes = $this->extractLanguageCodesFromMask( (int)$row['ezcontentobject_version_language_mask'],