Skip to content
Snippets Groups Projects
Commit 98ee46ee authored by Jan-Hendrik Willms's avatar Jan-Hendrik Willms
Browse files

fixes #4197

Closes #4197

Merge request studip/studip!3028
parent c0aade67
No related branches found
No related tags found
No related merge requests found
...@@ -193,7 +193,7 @@ abstract class Template ...@@ -193,7 +193,7 @@ abstract class Template
*/ */
public function set_layout(Template|string|null $layout): void public function set_layout(Template|string|null $layout): void
{ {
$this->layout = $this->factory->open($layout); $this->layout = $layout ? $this->factory->open($layout) : null;
} }
/** /**
......
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