diff options
author | Valentin Popov <info@valentineus.link> | 2017-10-26 08:44:44 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2017-10-26 08:44:44 +0300 |
commit | 18a5d23d07628ba63d4256e02fb71a8fd7bad7bb (patch) | |
tree | c9728c459eb6b0aaede918eb322bab629d458107 /editservice.php | |
parent | f43b3f2fd38ac7b80cd1762ffac4bd1d8f3a6f77 (diff) | |
download | local_webhooks-18a5d23d07628ba63d4256e02fb71a8fd7bad7bb.tar.xz local_webhooks-18a5d23d07628ba63d4256e02fb71a8fd7bad7bb.zip |
Correction of transmitted parameters
Diffstat (limited to 'editservice.php')
-rw-r--r-- | editservice.php | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/editservice.php b/editservice.php index 7ed7468..e9f2918 100644 --- a/editservice.php +++ b/editservice.php @@ -59,10 +59,6 @@ if ($idediting = boolval($idservice)) { /* Processing of received data */ if ($data = $mform->get_data()) { - if (empty($data->enable)) { - $data->enable = 0; - } - /* Packing of data */ if (!empty($data->events)) { $data->events = base64_encode(gzcompress(serialize($data->events), 9)); |