From 69a10e8ca737a5848dd888879b32a95fa7267ad5 Mon Sep 17 00:00:00 2001 From: marijus Date: Sat, 20 Sep 2014 17:30:11 +0200 Subject: oups... --- include/conversation.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/conversation.php b/include/conversation.php index 6e56782dd..be5267207 100644 --- a/include/conversation.php +++ b/include/conversation.php @@ -1546,7 +1546,7 @@ function profile_tabs($a, $is_owner=False, $nickname=Null){ require_once('include/chat.php'); $has_chats = chatroom_list_count($uid); - if (count($has_chats)) { + if ($has_chats) { $tabs[] = array( 'label' => t('Chatrooms'), 'url' => $a->get_baseurl() . '/chat/' . $nickname, -- cgit v1.2.3