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.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/engine/lib/languages.php b/engine/lib/languages.php
index 16af24446..3b05f6753 100644
--- a/engine/lib/languages.php
+++ b/engine/lib/languages.php
@@ -89,9 +89,8 @@
if ((empty($language)) && (isset($CONFIG->language)))
$language = $CONFIG->language;
- if (!empty($lang)) {
- $lang = $language;
- return $lang;
+ if (!empty($language)) {
+ return $language;
}
return false;