]> git.mxchange.org Git - friendica-addons.git/commitdiff
Remove group_member.uid in pumpio
authorHypolite Petovan <mrpetovan@gmail.com>
Fri, 15 Dec 2017 03:52:08 +0000 (22:52 -0500)
committerHypolite Petovan <mrpetovan@gmail.com>
Fri, 15 Dec 2017 03:52:08 +0000 (22:52 -0500)
pumpio/pumpio.php

index 4ec456a196eadcccb328ab99bd135a630e3f202d..f5bf6496a01321992741988dccb2da64fdf8ac7f 100644 (file)
@@ -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)
                                );