fix angeltype selection on admin shift entry create
This commit is contained in:
parent
d054378a63
commit
7f1f3a773a
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue