From: Michael Date: Mon, 2 Mar 2020 14:51:53 +0000 (+0000) Subject: Warning removed X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=31f912b78e3efa6e821a67a5dc7225b655e0576b;p=friendica.git Warning removed --- diff --git a/mod/item.php b/mod/item.php index 47da7c3c6b..a9f1ef808b 100644 --- a/mod/item.php +++ b/mod/item.php @@ -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.