From 835f5516e8c7e473d6a307c7c183e51ce6d563fa Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Sun, 17 Feb 2019 03:36:52 +0400 Subject: Correction problem tag display Signed-off-by: Valentin Popov --- classes/service_form.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'classes') diff --git a/classes/service_form.php b/classes/service_form.php index 99513cb..1299885 100644 --- a/classes/service_form.php +++ b/classes/service_form.php @@ -113,7 +113,7 @@ class service_edit_form extends moodleform { foreach ($eventlist as $event) { /* Escaping event names */ $eventname = base64_encode($event[ 'eventname' ]); - $events[ $event[ 'component' ] ][] =& $mform->createElement('checkbox', $eventname, $event[ 'eventname' ]); + $events[ $event[ 'component' ] ][] =& $mform->createElement('checkbox', $eventname, $event[ 'eventname' ], $event[ 'eventname' ]); } /* Displays groups of items */ -- cgit v1.2.3