|
|
|
@ -87,8 +87,8 @@ function shift_entry_create_controller_admin($shift, $angeltype)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
$angeltypes = AngelTypes();
|
|
|
|
$angeltypes = AngelTypes();
|
|
|
|
if ($request->has('angeltype_id')) {
|
|
|
|
if ($request->hasPostData('angeltype_id')) {
|
|
|
|
$angeltype = AngelType($request->input('angeltype_id'));
|
|
|
|
$angeltype = AngelType($request->postData('angeltype_id'));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if (empty($angeltype)) {
|
|
|
|
if (empty($angeltype)) {
|
|
|
|
if (count($angeltypes) == 0) {
|
|
|
|
if (count($angeltypes) == 0) {
|
|
|
|
|