fixed count taken shifts entries

main
Philip Häusler 11 years ago
parent a0ec1130a6
commit 7df8b967f3

@ -33,7 +33,7 @@ function NeededAngelTypes_by_shift($shift) {
$needed_angeltypes = array();
foreach ($needed_angeltypes_source as $angeltype) {
$shift_entries = ShiftEntries_by_shift_and_angeltype($shift['SID'], $angeltype['id']);
$shift_entries = ShiftEntries_by_shift_and_angeltype($shift['SID'], $angeltype['angel_type_id']);
if ($shift_entries === false)
return false;

Loading…
Cancel
Save