Skip to content
Snippets Groups Projects
Commit 4047e28e authored by Marcus Eibrink-Lunzenauer's avatar Marcus Eibrink-Lunzenauer Committed by Jan-Hendrik Willms
Browse files

Initialize `Trails\Controller#layout` before accessing it.

Closes #4246

Merge request studip/studip!3077
parent 555e1626
No related branches found
No related tags found
No related merge requests found
...@@ -31,7 +31,7 @@ class Controller ...@@ -31,7 +31,7 @@ class Controller
protected Dispatcher $dispatcher; protected Dispatcher $dispatcher;
protected Response $response; protected Response $response;
protected bool $performed = false; protected bool $performed = false;
protected Template|string|null $layout; protected Template|string|null $layout = null;
protected string $format = 'html'; protected string $format = 'html';
/** /**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment