From 18a5d23d07628ba63d4256e02fb71a8fd7bad7bb Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Thu, 26 Oct 2017 09:44:44 +0400 Subject: Correction of transmitted parameters --- classes/forms.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'classes/forms.php') 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); -- cgit v1.2.3