aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
diff options
context:
space:
mode:
authorMax Kostikov <max@kostikov.co>2018-09-28 00:12:00 +0200
committerMax Kostikov <max@kostikov.co>2018-09-28 00:12:00 +0200
commit978e45911fcda8a607e776aedbdcfe343f32f7a9 (patch)
treedb39d6f63b55ba727d859eecd7386c21d5af484e /Zotlabs
parentda7bce3470b547e56343d163eb914cc3ddf9339c (diff)
downloadvolse-hubzilla-978e45911fcda8a607e776aedbdcfe343f32f7a9.tar.gz
volse-hubzilla-978e45911fcda8a607e776aedbdcfe343f32f7a9.tar.bz2
volse-hubzilla-978e45911fcda8a607e776aedbdcfe343f32f7a9.zip
Update Connections.php
Diffstat (limited to 'Zotlabs')
-rw-r--r--Zotlabs/Module/Connections.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Module/Connections.php b/Zotlabs/Module/Connections.php
index 0e5f1dfe2..967e9521d 100644
--- a/Zotlabs/Module/Connections.php
+++ b/Zotlabs/Module/Connections.php
@@ -220,7 +220,7 @@ class Connections extends \Zotlabs\Web\Controller {
$sql_extra .= (($searching) ? protect_sprintf(" AND xchan_name like '%$search_txt%' ") : "");
if($_REQUEST['gid']) {
- $sql_extra .= " and xchan_hash in ( select xchan from group_member where gid = " . intval($_REQUEST['gid']) . " and uid = " . intval(local_channel()) . " ) ";
+ $sql_extra .= " and xchan_hash in ( select xchan from pgrp_member where gid = " . intval($_REQUEST['gid']) . " and uid = " . intval(local_channel()) . " ) ";
}
$r = q("SELECT COUNT(abook.abook_id) AS total FROM abook left join xchan on abook.abook_xchan = xchan.xchan_hash