make the visual group editor work again in the new world

This commit is contained in:
friendica
2012-11-14 20:55:05 -08:00
parent 71dc132f42
commit 160258fd5d
3 changed files with 36 additions and 21 deletions

View File

@@ -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();