mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-10 00:34:28 +02: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
|
@ -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'])->id])];
|
||||
[DI::permissionSet()->selectPublic($profile['uid'])->id])];
|
||||
}
|
||||
} elseif ($profile['uid'] == local_user()) {
|
||||
$condition = [];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue