mirror of
https://github.com/friendica/friendica
synced 2025-04-28 03:10:11 +00:00
Fix all errors in Protocol namespace
This commit is contained in:
parent
5469637f2b
commit
9638113244
10 changed files with 46 additions and 36 deletions
|
@ -323,7 +323,7 @@ class ClientToServer
|
|||
$requester_id = Contact::getIdForURL($requester, $owner['uid']);
|
||||
if (!empty($requester_id)) {
|
||||
$permissionSets = DI::permissionSet()->selectByContactId($requester_id, $owner['uid']);
|
||||
if (!empty($permissionSets)) {
|
||||
if ($permissionSets->getTotalCount() > 0) {
|
||||
$condition = ['psid' => array_merge($permissionSets->column('id'),
|
||||
[DI::permissionSet()->selectPublicForUser($owner['uid'])])];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue