mirror of
https://github.com/friendica/friendica
synced 2024-12-22 22:00:16 +00:00
Warning removed
This commit is contained in:
parent
4bf04dd6ee
commit
31f912b78e
1 changed files with 2 additions and 2 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue