aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/languages.php
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib/languages.php')
-rw-r--r--engine/lib/languages.php4
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];