This commit is contained in:
marijus 2014-09-20 17:30:11 +02:00
parent 6c806f6f48
commit 69a10e8ca7

View File

@ -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,