Merge pull request #158 from robofish/shiftEntryFormFix

Fixed shift entry form
This commit is contained in:
msquare 2014-11-04 11:06:01 +01:00
commit d2e5cce373
1 changed files with 1 additions and 1 deletions

View File

@ -280,7 +280,7 @@ function user_shifts() {
$angeltyppe_select = $type['name'];
}
return ShiftEntry_edit_view(date("Y-m-d H:i", $shift['start']) . ' – ' . date('Y-m-d H:i', $shift['end']) . ' (' . shift_length($shift) . ')', $shift['name'], $shift['Name'], $user_text, $angeltyppe_select, "", false, null, in_array('user_shifts_admin', $privileges));
return ShiftEntry_edit_view($user_text, date("Y-m-d H:i", $shift['start']) . ' – ' . date('Y-m-d H:i', $shift['end']) . ' (' . shift_length($shift) . ')', $shift['Name'], $shift['name'], $angeltyppe_select, "", false, null, in_array('user_shifts_admin', $privileges));
} else {
return view_user_shifts();
}