aboutsummaryrefslogtreecommitdiff
path: root/app/controllers/profile.php
diff options
context:
space:
mode:
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();
}