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

fixes #4190

Closes #4190

Merge request studip/studip!3025
parent 06d7582a
No related branches found
No related tags found
No related merge requests found
......@@ -220,7 +220,7 @@ class ProfileController extends AuthenticatedController
$template = $homepageplugin->getHomepageTemplate($this->current_user->user_id);
// create output of the plugins
if (!empty($template)) {
$render .= $template->render(null, $layout);
$render .= $template->render(layout: $layout);
}
$layout->clear_attributes();
}
......
......@@ -76,7 +76,7 @@ if (!empty($plugins)) {
$template = $plugin->getInfoTemplate($course_id);
if ($template) {
echo $template->render(null, $layout);
echo $template->render(layout: $layout);
$layout->clear_attributes();
}
}
......
......@@ -61,7 +61,7 @@ foreach ($plugins as $plugin) {
$template = $plugin->getInfoTemplate($institute_id);
if ($template) {
echo $template->render(NULL, $layout);
echo $template->render(layout: $layout);
$layout->clear_attributes();
}
}
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