use client_id as post var name not client

This commit is contained in:
johnnyq
2026-03-06 18:33:25 -05:00
parent 74ce8f4e98
commit fcf098f494
4 changed files with 5 additions and 41 deletions

View File

@@ -14,7 +14,7 @@ if (isset($_POST['add_trip'])) {
require_once 'trip_model.php';
$client_id = intval($_POST['client']);
$client_id = intval($_POST['client_id']);
if ($client_id) {
enforceClientAccess();