aboutsummaryrefslogtreecommitdiff
path: root/start.php
diff options
context:
space:
mode:
Diffstat (limited to 'start.php')
-rw-r--r--start.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/start.php b/start.php
index 125a2ddcf..045887744 100644
--- a/start.php
+++ b/start.php
@@ -150,7 +150,7 @@
}
}
}
- else*/if (get_context() == 'settings' && isloggedin()) {
+ else*/if (elgg_get_context() == 'settings' && elgg_is_logged_in()) {
if (get_loggedin_user()->chatenabled) {
add_submenu_item(elgg_echo('beechat:disablechat'), $CONFIG->wwwroot . "mod/beechat/disablechat.php");
}