From 26b5a6e1f088aa3f93ccdcab834596d68c377881 Mon Sep 17 00:00:00 2001 From: Igor Scheller Date: Wed, 28 Dec 2022 12:31:31 +0100 Subject: [PATCH] Fix shifts edit page --- includes/controller/shifts_controller.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/controller/shifts_controller.php b/includes/controller/shifts_controller.php index 2b1fd26d..5ab9de1a 100644 --- a/includes/controller/shifts_controller.php +++ b/includes/controller/shifts_controller.php @@ -134,7 +134,7 @@ function shift_edit_controller() foreach ($needed_angel_types as $needed_angeltype_id => $count) { $needed_angel_types[$needed_angeltype_id] = 0; - $queryKey = 'type_' . $needed_angeltype_id; + $queryKey = 'angeltype_count_' . $needed_angeltype_id; if ($request->has($queryKey)) { if (test_request_int($queryKey)) { $needed_angel_types[$needed_angeltype_id] = trim($request->input($queryKey));