From c2cd361171b082cb00f9526020cf4930d54a9895 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Thu, 26 Oct 2017 08:38:08 +0400 Subject: We save even more memory --- classes/forms.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/forms.php b/classes/forms.php index 9a7d6a1..30c405a 100644 --- a/classes/forms.php +++ b/classes/forms.php @@ -104,7 +104,7 @@ class service_edit_form extends moodleform { /* Formation of the list of elements */ foreach ($eventlist as $event) { $events[$event["component"]][] =& - $mform->createElement("advcheckbox", $event["eventname"], $event["eventname"]); + $mform->createElement("checkbox", $event["eventname"], $event["eventname"]); } /* Displays groups of items */ -- cgit v1.2.3