Warning removed
This commit is contained in:
parent
4bf04dd6ee
commit
31f912b78e
|
@ -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)) {
|
if (strlen($str_group_allow) || strlen($str_contact_allow) || strlen($str_group_deny) || strlen($str_contact_deny)) {
|
||||||
$private = Item::PRIVATE;
|
$private = Item::PRIVATE;
|
||||||
} elseif (DI::pConfig()->get($profile_uid, 'system', 'unlisted')) {
|
} elseif (DI::pConfig()->get($profile_uid, 'system', 'unlisted')) {
|
||||||
$private == Item::UNLISTED;
|
$private = Item::UNLISTED;
|
||||||
} else {
|
} else {
|
||||||
$private == Item::PUBLIC;
|
$private = Item::PUBLIC;
|
||||||
}
|
}
|
||||||
|
|
||||||
// If this is a comment, set the permissions from the parent.
|
// If this is a comment, set the permissions from the parent.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user