put schemas in Comanche (this requires theme support (!))

This commit is contained in:
friendica
2014-02-27 20:48:10 -08:00
parent d2bc7c606a
commit 102521844b
6 changed files with 92 additions and 73 deletions

View File

@@ -613,7 +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");
$r = q("select *, count(xchat_url) as total from xchat group by xchat_url order by total desc, xchat_desc limit 24");
for($x = 0; $x < count($r); $x ++)
$r[$x]['xchat_url'] = zid($r[$x]['xchat_url']);