From 56ebb0c784e4d00ac6e491a2a1cc2a198050d8aa Mon Sep 17 00:00:00 2001 From: Bernhard Scheffold Date: Fri, 15 Sep 2023 09:45:06 +0200 Subject: [PATCH] Prevent overwriting of multilang fields in oxshops when no value is present in yaml --- Core/ConfigImport.php | 1 + 1 file changed, 1 insertion(+) diff --git a/Core/ConfigImport.php b/Core/ConfigImport.php index aa3ca4e..473d7d7 100644 --- a/Core/ConfigImport.php +++ b/Core/ConfigImport.php @@ -245,6 +245,7 @@ protected function importShopsConfig($aConfigValues) continue; } $oShop->setLanguage($langId); + $oShop->loadInLang($langId, $sShopId); foreach ($aOxShopSettings as $sVarName => $mVarValue) { $iPosUnderscore = strrpos($sVarName, '_'); if ($iPosUnderscore !== false) {