mirror of
https://github.com/friendica/friendica
synced 2025-04-22 11:10:11 +00:00
Fixing PUBLIC usage, Fixing DB-View, Creating tests
This commit is contained in:
parent
a07acac463
commit
b5d994394e
14 changed files with 304 additions and 45 deletions
|
@ -86,7 +86,7 @@ class Objects extends BaseModule
|
|||
$permissionSets = DI::permissionSet()->selectByContactId($requester_id, $item['uid']);
|
||||
if (!empty($permissionSets)) {
|
||||
$psid = array_merge($permissionSets->column('id'),
|
||||
[DI::permissionSet()->selectEmptyForUser($item['uid'])]);
|
||||
[DI::permissionSet()->selectPublic($item['uid'])]);
|
||||
$validated = in_array($item['psid'], $psid);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue