From: Michael Date: Sun, 6 Jun 2021 09:24:12 +0000 (+0000) Subject: Use "self" X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=73b0af52fb36db4869f5fb4010cc6bb8e4998c19;p=friendica.git Use "self" --- 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(