]> git.mxchange.org Git - friendica.git/commitdiff
Warning removed
authorMichael <heluecht@pirati.ca>
Mon, 2 Mar 2020 14:51:53 +0000 (14:51 +0000)
committerMichael <heluecht@pirati.ca>
Mon, 2 Mar 2020 14:51:53 +0000 (14:51 +0000)
mod/item.php

index 47da7c3c6b6311543db67fba68f2ce9f47c59b3d..a9f1ef808baad0daf07f45f6504851967bb25db1 100644 (file)
@@ -303,9 +303,9 @@ function item_post(App $a) {
                if (strlen($str_group_allow) || strlen($str_contact_allow) || strlen($str_group_deny) || strlen($str_contact_deny)) {
                        $private = Item::PRIVATE;
                } elseif (DI::pConfig()->get($profile_uid, 'system', 'unlisted')) {
-                       $private == Item::UNLISTED;
+                       $private = Item::UNLISTED;
                } else {
-                       $private == Item::PUBLIC;
+                       $private = Item::PUBLIC;
                }
 
                // If this is a comment, set the permissions from the parent.