summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoranoy <anoymouserver+github@mailbox.org>2020-10-02 14:24:22 +0200
committerSean Molenaar <SMillerDev@users.noreply.github.com>2020-10-02 19:30:43 +0200
commit0d1ee15f8689ab33c9c2dc90c7c3a592950af1e6 (patch)
tree62bbdd9357c9516a733380bec4c98507be0a108d
parent4fffe42eb9064373cbdedd90f1c4dc3e9fa82c29 (diff)
fix invalid UserId when logged out
Signed-off-by: anoy <anoymouserver+github@mailbox.org>
-rw-r--r--lib/Controller/PageController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Controller/PageController.php b/lib/Controller/PageController.php
index 2b20d4695..ccabd16db 100644
--- a/lib/Controller/PageController.php
+++ b/lib/Controller/PageController.php
@@ -71,7 +71,7 @@ class PageController extends Controller
IL10N $l10n,
RecommendedSites $recommendedSites,
StatusService $statusService,
- string $UserId
+ ?string $UserId
) {
parent::__construct($appName, $request);
$this->settings = $settings;