aboutsummaryrefslogtreecommitdiffstats
path: root/include/widgets.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-02-27 17:10:26 -0800
committerfriendica <info@friendica.com>2014-02-27 17:10:26 -0800
commitd2bc7c606a6585dc82127717acf2cfe60b45f987 (patch)
tree56177a3c10a3effc6dbd357aae220c3308840cbe /include/widgets.php
parent642da17b86cce8f6455a68d2d863a288d3c125c8 (diff)
downloadvolse-hubzilla-d2bc7c606a6585dc82127717acf2cfe60b45f987.tar.gz
volse-hubzilla-d2bc7c606a6585dc82127717acf2cfe60b45f987.tar.bz2
volse-hubzilla-d2bc7c606a6585dc82127717acf2cfe60b45f987.zip
minor fixes to suggested chatrooms
Diffstat (limited to 'include/widgets.php')
-rw-r--r--include/widgets.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/widgets.php b/include/widgets.php
index eb4565641..aaf5a72a0 100644
--- a/include/widgets.php
+++ b/include/widgets.php
@@ -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']);