summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
Diffstat (limited to 'classes')
-rw-r--r--classes/service_form.php2
1 files changed, 1 insertions, 1 deletions
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 */