aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarijus <mario@mariovavti.com>2014-09-20 17:30:11 +0200
committermarijus <mario@mariovavti.com>2014-09-20 17:30:11 +0200
commit69a10e8ca737a5848dd888879b32a95fa7267ad5 (patch)
treef704150fc0f0387f0c4525a12c946815cf543369
parent6c806f6f48fc7efe5fda380f2f9edb9a7dc09cab (diff)
downloadvolse-hubzilla-69a10e8ca737a5848dd888879b32a95fa7267ad5.tar.gz
volse-hubzilla-69a10e8ca737a5848dd888879b32a95fa7267ad5.tar.bz2
volse-hubzilla-69a10e8ca737a5848dd888879b32a95fa7267ad5.zip
oups...
-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,