From 8a1335174df8d5e8e930aabce41fc62f43d8bb6b Mon Sep 17 00:00:00 2001 From: johnnyq Date: Mon, 2 Mar 2026 17:50:04 -0500 Subject: [PATCH] Trips: Add missing CSRF checks, we may need another permission module check for trips for now only admin and financial lv3 can delete a trip --- agent/modals/trip/trip_add.php | 1 + agent/modals/trip/trip_copy.php | 2 ++ agent/modals/trip/trip_edit.php | 1 + agent/modals/trip/trip_export.php | 1 + agent/post/trip.php | 14 ++++++++++++++ agent/trips.php | 2 +- 6 files changed, 20 insertions(+), 1 deletion(-) diff --git a/agent/modals/trip/trip_add.php b/agent/modals/trip/trip_add.php index 4a57ed27..8863893a 100644 --- a/agent/modals/trip/trip_add.php +++ b/agent/modals/trip/trip_add.php @@ -14,6 +14,7 @@ ob_start();
+ + +