Correction of transmitted parameters

This commit is contained in:
2017-10-26 09:44:44 +04:00
parent f43b3f2fd3
commit 18a5d23d07
3 changed files with 4 additions and 6 deletions

View File

@ -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));