From d2bc7c606a6585dc82127717acf2cfe60b45f987 Mon Sep 17 00:00:00 2001 From: friendica Date: Thu, 27 Feb 2014 17:10:26 -0800 Subject: [PATCH] minor fixes to suggested chatrooms --- include/widgets.php | 4 +--- view/pdl/mod_chat.pdl | 2 +- 2 files changed, 2 insertions(+), 4 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']); diff --git a/view/pdl/mod_chat.pdl b/view/pdl/mod_chat.pdl index afc849868..cdc66dd3d 100644 --- a/view/pdl/mod_chat.pdl +++ b/view/pdl/mod_chat.pdl @@ -1,5 +1,5 @@ [region=aside] [widget=profile][/widget] [widget=bookmarkedchats][/widget] -[widget=suggestededchats][/widget] +[widget=suggestedchats][/widget] [/region]