Fix shifts edit page

This commit is contained in:
Igor Scheller 2022-12-28 12:31:31 +01:00
parent 9409b320f0
commit 26b5a6e1f0
1 changed files with 1 additions and 1 deletions

View File

@ -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));