diff --git a/includes/controller/shift_entries_controller.php b/includes/controller/shift_entries_controller.php index 29ca88e7..707c6a0d 100644 --- a/includes/controller/shift_entries_controller.php +++ b/includes/controller/shift_entries_controller.php @@ -87,8 +87,8 @@ function shift_entry_create_controller_admin($shift, $angeltype) } $angeltypes = AngelTypes(); - if ($request->has('angeltype_id')) { - $angeltype = AngelType($request->input('angeltype_id')); + if ($request->hasPostData('angeltype_id')) { + $angeltype = AngelType($request->postData('angeltype_id')); } if (empty($angeltype)) { if (count($angeltypes) == 0) {