aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engine/lib/languages.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/lib/languages.php b/engine/lib/languages.php
index 652a22961..8781110b7 100644
--- a/engine/lib/languages.php
+++ b/engine/lib/languages.php
@@ -59,7 +59,7 @@
global $CONFIG;
if ((empty($language)) && (isset($CONFIG->language)))
- $language = $CONFIG->language;
+ $language = $CONFIG->language;
if (isset($CONFIG->translations[$language][$message_key])) {
return $CONFIG->translations[$language][$message_key];
@@ -67,7 +67,7 @@
return $CONFIG->translations["en"][$message_key];
}
- return "";
+ return $message_key;
}