]> git.mxchange.org Git - friendica.git/commitdiff
Merge pull request #2152 from annando/bugfix-socgraph
authorTobias Diekershoff <tobias.diekershoff@gmx.net>
Mon, 7 Dec 2015 05:29:38 +0000 (06:29 +0100)
committerTobias Diekershoff <tobias.diekershoff@gmx.net>
Mon, 7 Dec 2015 05:29:38 +0000 (06:29 +0100)
Bugfix for pull request #2147 (Fix for issue #2122)

include/socgraph.php

index 47df52f380e5dfbcf04d2d96dc1facb0cfa0182e..559b1832b2f8da8ade9882bc94477890fc2470ae 100644 (file)
@@ -1195,7 +1195,6 @@ function suggestion_query($uid, $start = 0, $limit = 80) {
                AND `gcontact`.`updated` != '0000-00-00 00:00:00'
                AND `gcontact`.`last_contact` >= `gcontact`.`last_failure`
                AND `gcontact`.`network` IN (%s)
-               AND NOT `gcontact`.`id` IN (SELECT `gcid` FROM `gcign` WHERE `uid` = %d)
                GROUP BY `glink`.`gcid` ORDER BY `gcontact`.`updated` DESC,`total` DESC LIMIT %d, %d",
                intval($uid),
                intval($uid),