Skip to content

Commit ea122fc

Browse files
Merge remote-tracking branch 'origin/2025.4' into 2026.1
2 parents 247a1f8 + 3382d31 commit ea122fc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/DataObject/Data/Adapter/LocalizedFieldsAdapter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ public function getPreviewFieldData(
199199
return $data;
200200
}
201201
$language = $this->getPreviewLanguage($value);
202-
$attributes = array_keys(reset($originalValue));
202+
$attributes = array_keys(array_merge(...array_values($originalValue)));
203203

204204
foreach ($attributes as $attribute) {
205205
try {

0 commit comments

Comments
 (0)