Use "self"

This commit is contained in:
Michael 2021-06-06 09:24:12 +00:00
parent b269a2da87
commit 73b0af52fb
1 changed files with 2 additions and 2 deletions

View File

@ -1921,9 +1921,9 @@ class Item
if ($user['allow_cid'] || $user['allow_gid'] || $user['deny_cid'] || $user['deny_gid']) {
$private = self::PRIVATE;
} elseif (DI::pConfig()->get($user['uid'], 'system', 'unlisted')) {
$private = Item::UNLISTED;
$private = self::UNLISTED;
} else {
$private = Item::PUBLIC;
$private = self::PUBLIC;
}
$psid = PermissionSet::getIdFromACL(