diff options
Diffstat (limited to 'engine')
-rw-r--r-- | engine/lib/languages.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/lib/languages.php b/engine/lib/languages.php index 3d62d08cb..7eda8b20e 100644 --- a/engine/lib/languages.php +++ b/engine/lib/languages.php @@ -77,11 +77,11 @@ $user = get_loggedin_user(); $language = false;
-
+
if (($user) && ($user->language))
$language = $user->language;
- if ((!$language) && ($CONFIG->language))
+ if ((!$language) && (isset($CONFIG->language)) && ($CONFIG->language))
$language = $CONFIG->language; if ($language) {
|