Browse Source

Fix: Undefined index: canonical_webroot

The public page uses the document template but doesn't set the
canonical_webroot properly.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
master^2
Roeland Jago Douma 1 year ago
parent
commit
d92a80eacd
No account linked to committer's email address
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      lib/Controller/DocumentController.php

+ 1
- 0
lib/Controller/DocumentController.php View File

@@ -249,6 +249,7 @@ class DocumentController extends Controller {
'urlsrc' => $urlSrc,
'path' => '/',
'instanceId' => $this->settings->getSystemValue('instanceid'),
'canonical_webroot' => $this->appConfig->getAppValue('canonical_webroot'),
];

$response = new TemplateResponse('richdocuments', 'documents', $params, 'empty');

Loading…
Cancel
Save