Merge pull request #479 from MrPetovan/bug/4046-remove-group_member-uid
Remove group_member.uid in pumpio
This commit is contained in:
commit
4ceec855d2
1 changed files with 1 additions and 2 deletions
|
@ -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)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue