From 58495893b950574fddd06b94ee35503eb9ad2e34 Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Thu, 14 Dec 2017 22:52:08 -0500 Subject: [PATCH] Remove group_member.uid in pumpio --- pumpio/pumpio.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pumpio/pumpio.php b/pumpio/pumpio.php index 4ec456a19..f5bf6496a 100644 --- a/pumpio/pumpio.php +++ b/pumpio/pumpio.php @@ -1544,10 +1544,9 @@ function pumpio_getreceiver(&$a, $b) { $gid = trim($gid, " <>"); $r = q("SELECT `contact`.`name`, `contact`.`nick`, `contact`.`url`, `contact`.`network` ". - "FROM `group_member`, `contact` WHERE `group_member`.`gid` = %d AND `group_member`.`uid` = %d ". + "FROM `group_member`, `contact` WHERE `group_member`.`gid` = %d ". "AND `contact`.`id` = `group_member`.`contact-id` AND `contact`.`network` = '%s'", intval($gid), - intval($b["uid"]), dbesc(NETWORK_PUMPIO) );