From 08c652e35c0c36a68722dcb6d6e689ebab727421 Mon Sep 17 00:00:00 2001 From: tkarliczek Date: Fri, 19 May 2017 16:39:38 +0200 Subject: [PATCH] [BUGFIX] field name will not update if combinedName is empty --- .../Hooks/DataHandler/BackwardsCompatibilityNameFormat.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Classes/Hooks/DataHandler/BackwardsCompatibilityNameFormat.php b/Classes/Hooks/DataHandler/BackwardsCompatibilityNameFormat.php index 27f05c9..b27e7ff 100644 --- a/Classes/Hooks/DataHandler/BackwardsCompatibilityNameFormat.php +++ b/Classes/Hooks/DataHandler/BackwardsCompatibilityNameFormat.php @@ -54,9 +54,7 @@ public function processDatamap_postProcessFieldArray($status, $table, $id, &$fie $newRecord['last_name'] )); - if (!empty($combinedName)) { - $fieldArray['name'] = $combinedName; - } + $fieldArray['name'] = $combinedName; } } }