mirror of
https://github.com/itflow-org/itflow
synced 2026-07-23 17:00:40 +00:00
Add Missing clientEnforcement in various modals, already handled on POST also add client selection in edit trip and enforce client permissions on trips
This commit is contained in:
@@ -40,7 +40,7 @@ if (isset($_POST['edit_trip'])) {
|
||||
|
||||
$trip_id = intval($_POST['trip_id']);
|
||||
|
||||
$client_id = intval(getFieldById('trips', $trip_id, 'trip_client_id'));
|
||||
$client_id = intval($_POST['client_id']);
|
||||
|
||||
if ($client_id) {
|
||||
enforceClientAccess();
|
||||
|
||||
Reference in New Issue
Block a user