aboutsummaryrefslogtreecommitdiffstats
path: root/include/widgets.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-02-27 20:48:10 -0800
committerfriendica <info@friendica.com>2014-02-27 20:48:10 -0800
commit102521844b3d6f31d0d801b0d0c89241c2c621af (patch)
tree9e44dc68fdf76640a3f784b1ae872b960d73a413 /include/widgets.php
parentd2bc7c606a6585dc82127717acf2cfe60b45f987 (diff)
downloadvolse-hubzilla-102521844b3d6f31d0d801b0d0c89241c2c621af.tar.gz
volse-hubzilla-102521844b3d6f31d0d801b0d0c89241c2c621af.tar.bz2
volse-hubzilla-102521844b3d6f31d0d801b0d0c89241c2c621af.zip
put schemas in Comanche (this requires theme support (!))
Diffstat (limited to 'include/widgets.php')
-rw-r--r--include/widgets.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/widgets.php b/include/widgets.php
index aaf5a72a0..8d5ab77e3 100644
--- a/include/widgets.php
+++ b/include/widgets.php
@@ -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']);