|
|
|
@ -92,7 +92,7 @@ class Posts extends BaseController |
|
|
|
|
|
|
|
$whereOr .= " or ( p.privacy = 2 and exists ( |
|
|
|
select 1 from {$prefix}posts_privacy_users pvu |
|
|
|
where pvu.posts_id = p.id and pvu.user_id = p.user_id |
|
|
|
where pvu.posts_id = p.id |
|
|
|
and pvu.type = 1 and pvu.user_id in ({$this->uid}) |
|
|
|
))"; |
|
|
|
|
|
|
|
|