some fixes to #395

This commit is contained in:
friendica
2014-04-07 20:20:28 -07:00
parent d820fa155b
commit 95751dddff
3 changed files with 3 additions and 3 deletions

View File

@@ -1516,7 +1516,7 @@ function profile_tabs($a, $is_owner=False, $nickname=Null){
}
require_once('include/chat.php');
$chats = chatroom_list($a->profile['profile_uid']);
$chats = chatroom_list($uid);
$subdued = ((count($chats)) ? '' : ' subdued');
$tabs[] = array(
'label' => t('Chatrooms'),