]> git.mxchange.org Git - friendica.git/blobdiff - mod/item.php
create third privacy state - public post but not searchable or publicly visible
[friendica.git] / mod / item.php
index aa022d37d8eda0387476e90ebdfe62caca12e8d7..554e97fe46a0d595b2df122a3c32b5c3f4830865 100644 (file)
@@ -228,7 +228,7 @@ function item_post(&$a) {
                                || strlen($parent_item['allow_gid']) 
                                || strlen($parent_item['deny_cid']) 
                                || strlen($parent_item['deny_gid'])) {
-                               $private = 1;
+                               $private = (($parent_item['private']) ? $parent_item['private'] : 1);
                        }
 
                        $str_contact_allow = $parent_item['allow_cid'];