aboutsummaryrefslogtreecommitdiff
path: root/classes/service_form.php
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2019-02-17 02:36:52 +0300
committerValentin Popov <info@valentineus.link>2019-02-17 02:36:52 +0300
commit835f5516e8c7e473d6a307c7c183e51ce6d563fa (patch)
tree3dfa5dbc764ef3659bc9d1273cd297d53792558b /classes/service_form.php
parent833434c5ba9439fd1e1156430b47b7bf67009a7e (diff)
downloadlocal_webhooks-835f5516e8c7e473d6a307c7c183e51ce6d563fa.tar.xz
local_webhooks-835f5516e8c7e473d6a307c7c183e51ce6d563fa.zip
Correction problem tag display
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to 'classes/service_form.php')
-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 */