aboutsummaryrefslogtreecommitdiffstats
path: root/include/text.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-11-14 20:55:05 -0800
committerfriendica <info@friendica.com>2012-11-14 20:55:05 -0800
commit160258fd5deeca6fdee659a8d3471cfbff6a9325 (patch)
tree30f6849729e8eeacfda0f9d85eb641bb88ca2055 /include/text.php
parent71dc132f42a7b9fc31aa350a3e56405c06addcae (diff)
downloadvolse-hubzilla-160258fd5deeca6fdee659a8d3471cfbff6a9325.tar.gz
volse-hubzilla-160258fd5deeca6fdee659a8d3471cfbff6a9325.tar.bz2
volse-hubzilla-160258fd5deeca6fdee659a8d3471cfbff6a9325.zip
make the visual group editor work again in the new world
Diffstat (limited to 'include/text.php')
-rw-r--r--include/text.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/text.php b/include/text.php
index 56f41d797..63bb320ff 100644
--- a/include/text.php
+++ b/include/text.php
@@ -549,12 +549,12 @@ function contact_block() {
$micropro = Null;
} else {
-dbg(1);
+
$r = q("SELECT abook.*, xchan.* FROM abook left join xchan on abook.abook_xchan = xchan.xchan_hash WHERE abook_channel = %d AND abook_flags = 0 ORDER BY RAND() LIMIT %d",
intval($a->profile['uid']),
intval($shown)
);
-dbg(0);
+
if(count($r)) {
$contacts = sprintf( tt('%d Contact','%d Contacts', $total),$total);
$micropro = Array();