Skip to content

Commit

Permalink
Merge pull request #51 from OXIDprojects/fix-overwriting-multilang-st…
Browse files Browse the repository at this point in the history
…rings-in-oxshops-when-not-present-in-yaml

Prevent overwriting of multilang fields in oxshops when no value is p…
  • Loading branch information
BernhardScheffold authored Sep 15, 2023
2 parents fc8a3ad + 56ebb0c commit b7847d9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Core/ConfigImport.php
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit b7847d9

Please sign in to comment.