[BUGFIX] Invalid handling of "mergeIfNotBlank" in backend
[Packages/TYPO3.CMS.git] / typo3 / sysext / backend / Classes / Utility / BackendUtility.php
index 7cccb9c..40cd385 100644 (file)
@@ -1953,7 +1953,7 @@ class BackendUtility {
                        $l10n_mode = isset($GLOBALS['TCA'][$originalTable]['columns'][$field]['l10n_mode'])
                                ? $GLOBALS['TCA'][$originalTable]['columns'][$field]['l10n_mode']
                                : '';
-                       if ($l10n_mode === 'exclude' || ($l10n_mode === 'mergeIfNotBlank' && trim($originalRow[$field]) !== '')) {
+                       if ($l10n_mode === 'exclude' || ($l10n_mode === 'mergeIfNotBlank' && trim($row[$field]) === '')) {
                                $row[$field] = $originalRow[$field];
                        }
                }