aboutsummaryrefslogtreecommitdiff
path: root/views/default/beechat/beechat.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/beechat/beechat.php')
-rw-r--r--views/default/beechat/beechat.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/default/beechat/beechat.php b/views/default/beechat/beechat.php
index d1e9e17be..397d35f74 100644
--- a/views/default/beechat/beechat.php
+++ b/views/default/beechat/beechat.php
@@ -9,7 +9,7 @@
* @link http://beechannels.com/
*/
-if (isloggedin() && get_loggedin_user()->chatenabled && elgg_get_context() != 'admin') {
+if (elgg_is_logged_in() && elgg_get_logged_in_user_entity()->chatenabled && elgg_get_context() != 'admin') {
?>
<div id="beechat">
<div id="beechat_left">