From e1f12b354053714906d5b24239055b7b626a974d Mon Sep 17 00:00:00 2001 From: Nattfarinn Date: Wed, 20 Dec 2023 16:32:07 +0100 Subject: [PATCH] fix: Tests --- eZ/Publish/Core/Persistence/Legacy/Content/Mapper.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eZ/Publish/Core/Persistence/Legacy/Content/Mapper.php b/eZ/Publish/Core/Persistence/Legacy/Content/Mapper.php index d93fd33e30..cbc41cf202 100644 --- a/eZ/Publish/Core/Persistence/Legacy/Content/Mapper.php +++ b/eZ/Publish/Core/Persistence/Legacy/Content/Mapper.php @@ -319,7 +319,7 @@ private function loadCachedVersionFieldDefinitionsPerLanguage( $contentTypeId = (int)$row["{$prefix}contentclass_id"]; $languageMask = (int)$row["{$prefix}version_language_mask"]; - if (!isset($fieldDefinitions[$contentId][$versionId])) { + if (isset($fieldDefinitions[$contentId][$versionId])) { continue; }