diff options
author | Max Kostikov <max@kostikov.co> | 2018-09-28 00:12:00 +0200 |
---|---|---|
committer | Max Kostikov <max@kostikov.co> | 2018-09-28 00:12:00 +0200 |
commit | 978e45911fcda8a607e776aedbdcfe343f32f7a9 (patch) | |
tree | db39d6f63b55ba727d859eecd7386c21d5af484e /Zotlabs/Module/Connections.php | |
parent | da7bce3470b547e56343d163eb914cc3ddf9339c (diff) | |
download | volse-hubzilla-978e45911fcda8a607e776aedbdcfe343f32f7a9.tar.gz volse-hubzilla-978e45911fcda8a607e776aedbdcfe343f32f7a9.tar.bz2 volse-hubzilla-978e45911fcda8a607e776aedbdcfe343f32f7a9.zip |
Update Connections.php
Diffstat (limited to 'Zotlabs/Module/Connections.php')
-rw-r--r-- | Zotlabs/Module/Connections.php | 2 |
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 |