From 73b0af52fb36db4869f5fb4010cc6bb8e4998c19 Mon Sep 17 00:00:00 2001 From: Michael Date: Sun, 6 Jun 2021 09:24:12 +0000 Subject: [PATCH] Use "self" --- src/Model/Item.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Model/Item.php b/src/Model/Item.php index 0d7df891e2..7956494675 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(