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();
|
$h = get_observer_hash();
|
||||||
if(! $h)
|
if(! $h)
|
||||||
return;
|
return;
|
||||||
$r = q("select *, count(xchat_url) as total from xchat group by xchat_url order by total desc, xchat_desc",
|
$r = q("select *, count(xchat_url) as total from xchat group by xchat_url order by total desc, xchat_desc");
|
||||||
dbesc($h)
|
|
||||||
);
|
|
||||||
|
|
||||||
for($x = 0; $x < count($r); $x ++)
|
for($x = 0; $x < count($r); $x ++)
|
||||||
$r[$x]['xchat_url'] = zid($r[$x]['xchat_url']);
|
$r[$x]['xchat_url'] = zid($r[$x]['xchat_url']);
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
[region=aside]
|
[region=aside]
|
||||||
[widget=profile][/widget]
|
[widget=profile][/widget]
|
||||||
[widget=bookmarkedchats][/widget]
|
[widget=bookmarkedchats][/widget]
|
||||||
[widget=suggestededchats][/widget]
|
[widget=suggestedchats][/widget]
|
||||||
[/region]
|
[/region]
|
||||||
|
Reference in New Issue
Block a user