diff options
Diffstat (limited to 'editservice.php')
-rw-r--r-- | editservice.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/editservice.php b/editservice.php index e9c053c..427332c 100644 --- a/editservice.php +++ b/editservice.php @@ -63,6 +63,9 @@ if ($data = $mform->get_data()) { $data->enable = 0; } + /* Packing of data */ + $data->events = base64_encode(gzcompress(serialize($data->events), 9)); + if ($idediting) { $data->id = $idservice; $DB->update_record("local_webhooks_service", $data); |