summaryrefslogtreecommitdiff
path: root/editservice.php
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2017-10-26 08:44:44 +0300
committerValentin Popov <info@valentineus.link>2017-10-26 08:44:44 +0300
commit18a5d23d07628ba63d4256e02fb71a8fd7bad7bb (patch)
treec9728c459eb6b0aaede918eb322bab629d458107 /editservice.php
parentf43b3f2fd38ac7b80cd1762ffac4bd1d8f3a6f77 (diff)
downloadlocal_webhooks-18a5d23d07628ba63d4256e02fb71a8fd7bad7bb.tar.xz
local_webhooks-18a5d23d07628ba63d4256e02fb71a8fd7bad7bb.zip
Correction of transmitted parameters
Diffstat (limited to 'editservice.php')
-rw-r--r--editservice.php4
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));