mirror of
https://github.com/friendica/friendica
synced 2025-04-26 05:10:11 +00:00
Issue 6167: Don't publish non visible content
This commit is contained in:
parent
542e363a49
commit
4ff837488f
4 changed files with 3 additions and 8 deletions
|
@ -254,7 +254,7 @@ class DFRN
|
|||
FROM `item` USE INDEX (`uid_wall_changed`) $sql_post_table
|
||||
STRAIGHT_JOIN `contact` ON `contact`.`id` = `item`.`contact-id`
|
||||
WHERE `item`.`uid` = %d AND `item`.`wall` AND `item`.`changed` > '%s'
|
||||
$sql_extra
|
||||
AND `item`.`visible` $sql_extra
|
||||
ORDER BY `item`.`parent` ".$sort.", `item`.`created` ASC LIMIT 0, 300",
|
||||
intval($owner_id),
|
||||
DBA::escape($check_date),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue