aboutsummaryrefslogtreecommitdiff
path: root/views/default/user/settings/language.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/user/settings/language.php')
-rw-r--r--views/default/user/settings/language.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/default/user/settings/language.php b/views/default/user/settings/language.php
index 0dbe66b26..43dc91e61 100644
--- a/views/default/user/settings/language.php
+++ b/views/default/user/settings/language.php
@@ -11,7 +11,7 @@
*/
global $CONFIG;
- $user = $_SESSION['user'];
+ $user = page_owner_entity();
if ($user) {
?>