diff options
author | Valentin Popov <info@valentineus.link> | 2017-10-26 08:44:44 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2017-10-26 08:44:44 +0300 |
commit | 18a5d23d07628ba63d4256e02fb71a8fd7bad7bb (patch) | |
tree | c9728c459eb6b0aaede918eb322bab629d458107 /classes/forms.php | |
parent | f43b3f2fd38ac7b80cd1762ffac4bd1d8f3a6f77 (diff) | |
download | local_webhooks-18a5d23d07628ba63d4256e02fb71a8fd7bad7bb.tar.xz local_webhooks-18a5d23d07628ba63d4256e02fb71a8fd7bad7bb.zip |
Correction of transmitted parameters
Diffstat (limited to 'classes/forms.php')
-rw-r--r-- | classes/forms.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/forms.php b/classes/forms.php index e0267ce..6fb9972 100644 --- a/classes/forms.php +++ b/classes/forms.php @@ -81,7 +81,7 @@ class service_edit_form extends moodleform { $mform->addRule("url", null, "required"); /* Enabling the service */ - $mform->addElement("checkbox", "enable", + $mform->addElement("advcheckbox", "enable", new lang_string("enable", "moodle")); $mform->setType("enable", PARAM_BOOL); $mform->setDefault("enable", 1); |