mirror of
https://github.com/friendica/friendica
synced 2025-04-28 03:10:11 +00:00
Check for explicit types
This commit is contained in:
parent
2b40e49e6e
commit
5772c70216
2 changed files with 3 additions and 3 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 (count($permissionSets)) {
|
||||
if (count($permissionSets) > 0) {
|
||||
$condition = ['psid' => array_merge($permissionSets->column('id'),
|
||||
[DI::permissionSet()->selectPublicForUser($owner['uid'])])];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue