aboutsummaryrefslogtreecommitdiff
path: root/app/controllers/profile.php
diff options
context:
space:
mode:
authorJan-Hendrik Willms <tleilax+studip@gmail.com>2024-05-17 12:02:47 +0000
committerJan-Hendrik Willms <tleilax+studip@gmail.com>2024-05-17 12:02:47 +0000
commit5e0842ceba062adbc2615bd522cecb1b54e201af (patch)
tree71fa6211a2e41bd4f66ff376f1f34622460f90e1 /app/controllers/profile.php
parent06d7582a1c628fac933868cc56cbd3135277b7e7 (diff)
fixes #4190
Closes #4190 Merge request studip/studip!3025
Diffstat (limited to 'app/controllers/profile.php')
-rw-r--r--app/controllers/profile.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/profile.php b/app/controllers/profile.php
index b9a7cf7..226890e 100644
--- a/app/controllers/profile.php
+++ b/app/controllers/profile.php
@@ -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();
}