diff options
Diffstat (limited to 'views')
-rw-r--r-- | views/default/beechat/beechat.userjs.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/views/default/beechat/beechat.userjs.php b/views/default/beechat/beechat.userjs.php index f147d8b8e..1a4d1565c 100644 --- a/views/default/beechat/beechat.userjs.php +++ b/views/default/beechat/beechat.userjs.php @@ -38,8 +38,8 @@ BeeChat.UI.Resources.Strings = { } g_user_rooms = new Array(); <?php -if (isloggedin()) { - $user = get_loggedin_user(); +if (elgg_is_logged_in()) { + $user = elgg_get_logged_in_user_entity(); $chatrooms = elgg_get_entities_from_relationship(array('relationship' => 'groupchat', 'relationship_guid' => $user->guid, 'inverse_relationship' => false, |