mirror of
https://github.com/friendica/friendica
synced 2025-05-09 23:44:09 +02:00
Address feedback
This commit is contained in:
parent
ba0b83b0b0
commit
eff7740a67
3 changed files with 6 additions and 7 deletions
|
@ -38,8 +38,8 @@ class Display extends DisplayModule
|
|||
throw new HTTPException\UnauthorizedException($this->t('Access denied.'));
|
||||
}
|
||||
|
||||
$profileUid = $request['p'] ?? 0;
|
||||
$force = $request['force'] ?? false;
|
||||
$profileUid = $request['p'] ?? 0;
|
||||
$force = $request['force'] ?? false;
|
||||
$uriId = $request['uri_id'] ?? 0;
|
||||
|
||||
if (empty($uriId)) {
|
||||
|
@ -56,7 +56,7 @@ class Display extends DisplayModule
|
|||
throw new HTTPException\NotFoundException($this->t('The requested item doesn\'t exist or has been deleted.'));
|
||||
}
|
||||
|
||||
$this->app->setProfileOwner($item['uid'] ?? $profileUid);
|
||||
$this->app->setProfileOwner($item['uid'] ?: $profileUid);
|
||||
$parentUriId = $item['parent-uri-id'];
|
||||
|
||||
if (empty($force)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue