diff --git a/src/Model/Item.php b/src/Model/Item.php index 0d7df891e..795649467 100644 --- a/src/Model/Item.php +++ b/src/Model/Item.php @@ -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(