Calendar Events: use client_id instead of client in POST and enforceClientAccess if client is assigned to an event

This commit is contained in:
johnnyq
2026-03-06 15:59:18 -05:00
parent df5c350765
commit 3983c45cac
4 changed files with 27 additions and 12 deletions

View File

@@ -8,5 +8,5 @@ $description = sanitizeInput($_POST['description']);
$start = sanitizeInput($_POST['start']);
$end = sanitizeInput($_POST['end']);
$repeat = sanitizeInput($_POST['repeat'] ?? 0);
$client = intval($_POST['client']);
$client_id = intval($_POST['client_id']);
$email_event = intval($_POST['email_event'] ?? 0);