From 31f912b78e3efa6e821a67a5dc7225b655e0576b Mon Sep 17 00:00:00 2001 From: Michael Date: Mon, 2 Mar 2020 14:51:53 +0000 Subject: [PATCH] Warning removed --- mod/item.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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. -- 2.39.5