Skip to content

Commit

Permalink
Use the external page tab url instead of the hardcoded URL which was …
Browse files Browse the repository at this point in the history
…used during development
  • Loading branch information
abias committed Nov 13, 2024
1 parent a38dca6 commit 6dc0d33
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions classes/admin_settingspage_tabs_with_external.php
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,7 @@ public function output_html() {
$newtab['externaltab'] = true;
// And change the name (which is used as link in the mustache template)
// to hold the full URL of the external page..
$externalname = new \moodle_url('/theme/boost_union/snippets/overview.php');
$newtab['name'] = $externalname->out();
$newtab['name'] = $tab->url->out();
}
$context['tabs'][] = $newtab;
}
Expand Down

0 comments on commit 6dc0d33

Please sign in to comment.