Skip to content

Commit

Permalink
38375: Cannot add a Glossary
Browse files Browse the repository at this point in the history
  • Loading branch information
alex40724 committed Oct 31, 2023
1 parent 6c871a7 commit 674eda0
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,10 @@ public function modifyToolbar(ilToolbarGUI $toolbar): void
$ctrl->getLinkTarget($this, "showCreationForm", "", true),
false
);
foreach ($components as $c) {
foreach ($components as $type => $c) {
if ($type === "signal") {
continue;
}
$toolbar->addComponent($c);
}
}
Expand Down

0 comments on commit 674eda0

Please sign in to comment.