Skip to content
Snippets Groups Projects
Commit 9e41f70c authored by Peter Philipp's avatar Peter Philipp
Browse files

Issue #3514604: Fix for translation merging

parent 0847b8bf
No related branches found
No related tags found
1 merge request!79Issue #3514604: Fix for translation merging
Pipeline #456471 passed with warnings
......@@ -725,7 +725,7 @@ class ExternalEntityStorage extends ContentEntityStorageBase implements External
// Check if there are translation data available.
foreach ($all_raw_data[$id] as $key => $raw_translation_data) {
if (str_starts_with($key, self::EXTERNAL_ENTITY_TRANSLATION_SUB_FIELD_PREFIX)) {
if (isset($raw_translation_data[$id]) && str_starts_with($key, self::EXTERNAL_ENTITY_TRANSLATION_SUB_FIELD_PREFIX)) {
try {
$langcode = str_replace(self::EXTERNAL_ENTITY_TRANSLATION_SUB_FIELD_PREFIX, '', $key);
$entity_translation_data = $this->extractEntityValuesFromRawData($raw_translation_data[$id]);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment