aboutsummaryrefslogtreecommitdiffstats
path: root/include/conversation.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/conversation.php')
-rw-r--r--include/conversation.php2
1 files changed, 1 insertions, 1 deletions
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,