diff options
-rw-r--r-- | engine/lib/languages.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/engine/lib/languages.php b/engine/lib/languages.php index ca1711380..71ed57bcf 100644 --- a/engine/lib/languages.php +++ b/engine/lib/languages.php @@ -107,7 +107,9 @@ static $CURRENT_LANGUAGE; if ((!$CURRENT_LANGUAGE) && (!$language))
- $CURRENT_LANGUAGE = $language = get_language();
+ $CURRENT_LANGUAGE = $language = get_language(); + else + $language = $CURRENT_LANGUAGE;
if (isset($CONFIG->translations[$language][$message_key])) {
return $CONFIG->translations[$language][$message_key];
|