aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engine/lib/languages.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/engine/lib/languages.php b/engine/lib/languages.php
index 71ed57bcf..6935a49bd 100644
--- a/engine/lib/languages.php
+++ b/engine/lib/languages.php
@@ -38,10 +38,7 @@
if (!isset($CONFIG->translations[$country_code])) {
$CONFIG->translations[$country_code] = $language_array;
} else {
- //$CONFIG->translations[$country_code] = array_merge($CONFIG->translations[$country_code],$language_array);
- $CONFIG->translations[$country_code] += $language_array;
- //foreach ($language_array as $key => $value)
- // $CONFIG->translations[$country_code][$key] = $value;
+ $CONFIG->translations[$country_code] = $language_array += $CONFIG->translations[$country_code];
}
return true;