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

fixes #3543

Closes #3543

Merge request studip/studip!2431
parent 68e3feee
No related branches found
No related tags found
No related merge requests found
...@@ -160,7 +160,9 @@ class Sidebar extends WidgetContainer ...@@ -160,7 +160,9 @@ class Sidebar extends WidgetContainer
if ($this->hasWidgets()) { if ($this->hasWidgets()) {
$template->widgets = $this->widgets; $template->widgets = $this->widgets;
array_walk($template->widgets, [$this, 'setupSkipLinks']); foreach ($template->widgets as $widget) {
$this->setupSkipLinks($widget);
}
} else { } else {
$template->widgets = []; $template->widgets = [];
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment