Fix Post errors when repeat and Email Event is not selected

This commit is contained in:
johnnyq 2025-08-05 18:39:24 -04:00
parent 9a0aa9ce97
commit e24ec04a75
1 changed files with 2 additions and 2 deletions

View File

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