Trips: enforceClientAccess only if client is referenced

This commit is contained in:
johnnyq
2026-03-06 18:26:14 -05:00
parent 6e3a36d8c4
commit 74ce8f4e98
2 changed files with 18 additions and 1 deletions

View File

@@ -8,4 +8,3 @@ $miles = floatval($_POST['miles']);
$roundtrip = intval($_POST['roundtrip'] ?? 0);
$purpose = sanitizeInput($_POST['purpose']);
$user_id = intval($_POST['user']);
$client_id = intval($_POST['client']);