From e6ccfad2429160db26180fc8dfbc4c8cfd4f8b2a Mon Sep 17 00:00:00 2001 From: Adrian Greeve Date: Wed, 25 Oct 2017 10:42:31 +0800 Subject: [PATCH] MDL-57055 mod_label: Add label administration for boost. This patch adds the label adminstration settings to the label edit page. --- mod/label/mod_form.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mod/label/mod_form.php b/mod/label/mod_form.php index a892fd2fd00..fec23dfcd57 100644 --- a/mod/label/mod_form.php +++ b/mod/label/mod_form.php @@ -30,6 +30,9 @@ require_once ($CFG->dirroot.'/course/moodleform_mod.php'); class mod_label_mod_form extends moodleform_mod { function definition() { + global $PAGE; + + $PAGE->force_settings_menu(); $mform = $this->_form;