]> git.mxchange.org Git - friendica.git/commitdiff
Issue 4228: Don't post an item if it belongs to a picture upload without an post
authorMichael <heluecht@pirati.ca>
Sun, 18 Feb 2018 17:29:14 +0000 (17:29 +0000)
committerMichael <heluecht@pirati.ca>
Sun, 18 Feb 2018 17:29:14 +0000 (17:29 +0000)
src/Protocol/OStatus.php

index 0f100c0dd47941b0008f7a04a0926055b4560a88..a3fdacf33145ca6b0a5c4df02f42ae1e67d6fe6c 100644 (file)
@@ -2128,6 +2128,7 @@ class OStatus
                                AND `item`.`created` > '%s'
                                AND NOT `item`.`deleted`
                                AND NOT `item`.`private`
+                               AND `item`.`visible`
                                AND `thread`.`network` IN ('%s', '%s')
                                $sql_extra
                                ORDER BY `item`.`created` DESC LIMIT %d",