aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
Diffstat (limited to 'engine')
-rw-r--r--engine/lib/languages.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/languages.php b/engine/lib/languages.php
index 973309cb9..5292b5403 100644
--- a/engine/lib/languages.php
+++ b/engine/lib/languages.php
@@ -58,7 +58,7 @@
global $CONFIG;
- if ((empty($language)) && ($_SESSION['user']->language))
+ if ((empty($language)) && (isset($_SESSION['user'])) && ($_SESSION['user']->language))
$language = $_SESSION['user']->language;
if ((empty($language)) && (isset($CONFIG->language)))