Issue 2772: Posts from pending contacts should be displayed as well.

This commit is contained in:
Michael
2016-11-20 16:52:57 +00:00
parent 1e40cdd1d4
commit 3de862712d
7 changed files with 24 additions and 24 deletions

View File

@@ -134,7 +134,7 @@ class dfrn {
break; // NOTREACHED
}
$r = q("SELECT * FROM `contact` WHERE `blocked` = 0 AND `pending` = 0 AND `contact`.`uid` = %d $sql_extra LIMIT 1",
$r = q("SELECT * FROM `contact` WHERE NOT `blocked` AND `contact`.`uid` = %d $sql_extra LIMIT 1",
intval($owner_id)
);