minor fixes to suggested chatrooms
This commit is contained in:
parent
642da17b86
commit
d2bc7c606a
@ -613,9 +613,7 @@ function widget_suggestedchats($arr) {
|
||||
$h = get_observer_hash();
|
||||
if(! $h)
|
||||
return;
|
||||
$r = q("select *, count(xchat_url) as total from xchat group by xchat_url order by total desc, xchat_desc",
|
||||
dbesc($h)
|
||||
);
|
||||
$r = q("select *, count(xchat_url) as total from xchat group by xchat_url order by total desc, xchat_desc");
|
||||
|
||||
for($x = 0; $x < count($r); $x ++)
|
||||
$r[$x]['xchat_url'] = zid($r[$x]['xchat_url']);
|
||||
|
@ -1,5 +1,5 @@
|
||||
[region=aside]
|
||||
[widget=profile][/widget]
|
||||
[widget=bookmarkedchats][/widget]
|
||||
[widget=suggestededchats][/widget]
|
||||
[widget=suggestedchats][/widget]
|
||||
[/region]
|
||||
|
Reference in New Issue
Block a user