Skip to content

Commit

Permalink
update following tracker review
Browse files Browse the repository at this point in the history
  • Loading branch information
gbarat87 committed Dec 4, 2024
1 parent 8b0d5c6 commit 92c9682
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion classes/hook_callbacks.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,10 @@ public static function before_standard_top_of_body_html_generation(before_standa
*/
public static function extend_user_menu(extend_user_menu $hook): void {
// Get items to add.
$hook->add_navitems(envbarlib::add_menuuser());
$navitems = envbarlib::add_menuuser();
foreach ($navitems as $item) {
$hook->add_navitem($item);
}
}

/**
Expand Down

0 comments on commit 92c9682

Please sign in to comment.