debug chatroom_list widget
This commit is contained in:
@@ -121,8 +121,9 @@ function chatroom_leave($observer_xchan,$room_id,$status) {
|
||||
|
||||
function chatroom_list($uid) {
|
||||
|
||||
$r = q("select cr_name, cr_id, count(cp_id) as cr_inroom from chatroom left join chatpresence on cr_id = cp_room where cr_uid = %d order by cr_name group by cp_id",
|
||||
$r = q("select cr_name, cr_id, count(cp_id) as cr_inroom from chatroom left join chatpresence on cr_id = cp_room where cr_uid = %d group by cp_id order by cr_name",
|
||||
intval($uid)
|
||||
);
|
||||
|
||||
return $r;
|
||||
}
|
||||
Reference in New Issue
Block a user