mirror of
https://github.com/itflow-org/itflow
synced 2026-03-09 07:14:51 +00:00
Fix Post errors when repeat and Email Event is not selected
This commit is contained in:
@@ -7,6 +7,6 @@ $location = sanitizeInput($_POST['location']);
|
|||||||
$description = sanitizeInput($_POST['description']);
|
$description = sanitizeInput($_POST['description']);
|
||||||
$start = sanitizeInput($_POST['start']);
|
$start = sanitizeInput($_POST['start']);
|
||||||
$end = sanitizeInput($_POST['end']);
|
$end = sanitizeInput($_POST['end']);
|
||||||
$repeat = sanitizeInput($_POST['repeat']);
|
$repeat = sanitizeInput($_POST['repeat'] ?? 0);
|
||||||
$client = intval($_POST['client']);
|
$client = intval($_POST['client']);
|
||||||
$email_event = intval($_POST['email_event']);
|
$email_event = intval($_POST['email_event'] ?? 0);
|
||||||
|
|||||||
Reference in New Issue
Block a user