Warning removed

This commit is contained in:
Michael 2020-03-02 14:51:53 +00:00
parent 4bf04dd6ee
commit 31f912b78e

View 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.