aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMarcus Eibrink-Lunzenauer <lunzenauer@elan-ev.de>2024-05-31 11:35:04 +0000
committerJan-Hendrik Willms <tleilax+studip@gmail.com>2024-05-31 11:35:04 +0000
commit4047e28efd43011ff70d8c5b596aa1e8673a6246 (patch)
tree6c4760c31934bb94ceb443a98894113bfd2132d9 /lib
parent555e162607bdb39e450fd79fe5997e71745cb481 (diff)
Initialize `Trails\Controller#layout` before accessing it.issue-4249
Closes #4246 Merge request studip/studip!3077
Diffstat (limited to 'lib')
-rw-r--r--lib/trails/Controller.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/trails/Controller.php b/lib/trails/Controller.php
index a5a0ba7..bafb8db 100644
--- a/lib/trails/Controller.php
+++ b/lib/trails/Controller.php
@@ -31,7 +31,7 @@ class Controller
protected Dispatcher $dispatcher;
protected Response $response;
protected bool $performed = false;
- protected Template|string|null $layout;
+ protected Template|string|null $layout = null;
protected string $format = 'html';
/**