mirror of
https://github.com/friendica/friendica
synced 2025-04-23 18:30:11 +00:00
Fix DisplayNotFound page
- Add another condition earlier in Module\Item\Display - Separate reasons in individual translation strings
This commit is contained in:
parent
96d2cddb54
commit
63f5d94a02
3 changed files with 22 additions and 12 deletions
|
@ -133,7 +133,9 @@ class Display extends BaseModule
|
|||
}
|
||||
|
||||
if (empty($item)) {
|
||||
throw new HTTPException\NotFoundException($this->t('The requested item doesn\'t exist or has been deleted.'));
|
||||
$this->page['aside'] = '';
|
||||
$displayNotFound = new DisplayNotFound($this->l10n, $this->baseUrl, $this->args, $this->logger, $this->profiler, $this->response, $this->server, $this->parameters);
|
||||
return $displayNotFound->content();
|
||||
}
|
||||
|
||||
if ($item['gravity'] != Item::GRAVITY_PARENT) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue