Remove group_member.uid in pumpio

This commit is contained in:
Hypolite Petovan 2017-12-14 22:52:08 -05:00
parent cb9926c93a
commit 58495893b9

View File

@ -1544,10 +1544,9 @@ function pumpio_getreceiver(&$a, $b) {
$gid = trim($gid, " <>"); $gid = trim($gid, " <>");
$r = q("SELECT `contact`.`name`, `contact`.`nick`, `contact`.`url`, `contact`.`network` ". $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'", "AND `contact`.`id` = `group_member`.`contact-id` AND `contact`.`network` = '%s'",
intval($gid), intval($gid),
intval($b["uid"]),
dbesc(NETWORK_PUMPIO) dbesc(NETWORK_PUMPIO)
); );