Merge pull request #2152 from annando/bugfix-socgraph
Bugfix for pull request #2147 (Fix for issue #2122)
This commit is contained in:
commit
6fb5e0a15d
1 changed files with 0 additions and 1 deletions
|
@ -1195,7 +1195,6 @@ function suggestion_query($uid, $start = 0, $limit = 80) {
|
||||||
AND `gcontact`.`updated` != '0000-00-00 00:00:00'
|
AND `gcontact`.`updated` != '0000-00-00 00:00:00'
|
||||||
AND `gcontact`.`last_contact` >= `gcontact`.`last_failure`
|
AND `gcontact`.`last_contact` >= `gcontact`.`last_failure`
|
||||||
AND `gcontact`.`network` IN (%s)
|
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",
|
GROUP BY `glink`.`gcid` ORDER BY `gcontact`.`updated` DESC,`total` DESC LIMIT %d, %d",
|
||||||
intval($uid),
|
intval($uid),
|
||||||
intval($uid),
|
intval($uid),
|
||||||
|
|
Loading…
Reference in a new issue