Fix for errors with empty values
This commit is contained in:
parent
dab55b9562
commit
e86542d8f7
@ -64,7 +64,9 @@ if ($data = $mform->get_data()) {
|
||||
}
|
||||
|
||||
/* Packing of data */
|
||||
if (!empty($data->events)) {
|
||||
$data->events = base64_encode(gzcompress(serialize($data->events), 9));
|
||||
}
|
||||
|
||||
if ($idediting) {
|
||||
$data->id = $idservice;
|
||||
|
Loading…
x
Reference in New Issue
Block a user