From 18a5d23d07628ba63d4256e02fb71a8fd7bad7bb Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Thu, 26 Oct 2017 09:44:44 +0400 Subject: Correction of transmitted parameters --- editservice.php | 4 ---- 1 file changed, 4 deletions(-) (limited to 'editservice.php') 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)); -- cgit v1.2.3