From f622a541c3d7491a530977e2d6030b0b9350eee6 Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Wed, 13 Oct 2021 00:09:14 -0400 Subject: [PATCH] Use entity property in DB condition in Module\Profile\Status - Address https://github.com/friendica/friendica/issues/10756#issuecomment-939538157 --- src/Module/Profile/Status.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Module/Profile/Status.php b/src/Module/Profile/Status.php index d7e4ca671..4cf097120 100644 --- a/src/Module/Profile/Status.php +++ b/src/Module/Profile/Status.php @@ -213,7 +213,7 @@ class Status extends BaseProfile $permissionSets = DI::permissionSet()->selectByContactId($remote_user, $profile['uid']); if (!empty($permissionSets)) { $condition = ['psid' => array_merge($permissionSets->column('id'), - [DI::permissionSet()->selectEmptyForUser($profile['uid'])])]; + [DI::permissionSet()->selectEmptyForUser($profile['uid'])->id])]; } } elseif ($profile['uid'] == local_user()) { $condition = [];