Skip to content

Commit 52b177b

Browse files
authored
Merge pull request #5722 from dlubitz/bugfix/nullable-labels
BUGFIX: Allow possible translation value to be null
2 parents d4e00ad + 6f2b75f commit 52b177b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Neos.ContentRepositoryRegistry/Classes/Configuration/NodeTypeEnrichmentService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ protected function shouldFetchTranslation(array $parentConfiguration, string $fi
354354
{
355355
$fieldValue = array_key_exists($fieldName, $parentConfiguration) ? $parentConfiguration[$fieldName] : '';
356356

357-
return (trim($fieldValue) === 'i18n');
357+
return ($fieldValue !== null && trim($fieldValue) === 'i18n');
358358
}
359359

360360
/**

0 commit comments

Comments
 (0)