mirror of https://github.com/itflow-org/itflow
Fix Post errors when repeat and Email Event is not selected
This commit is contained in:
parent
9a0aa9ce97
commit
e24ec04a75
|
|
@ -7,6 +7,6 @@ $location = sanitizeInput($_POST['location']);
|
|||
$description = sanitizeInput($_POST['description']);
|
||||
$start = sanitizeInput($_POST['start']);
|
||||
$end = sanitizeInput($_POST['end']);
|
||||
$repeat = sanitizeInput($_POST['repeat']);
|
||||
$repeat = sanitizeInput($_POST['repeat'] ?? 0);
|
||||
$client = intval($_POST['client']);
|
||||
$email_event = intval($_POST['email_event']);
|
||||
$email_event = intval($_POST['email_event'] ?? 0);
|
||||
|
|
|
|||
Loading…
Reference in New Issue