User view: Show double assigned shifts

closes #674 (Number of shifts differs in web interface and API response)
main
Igor Scheller 5 years ago
parent dfcacaa331
commit 02ee581202

@ -444,7 +444,7 @@ function User_view_myshifts(
$myshifts_table = [];
$timeSum = 0;
foreach ($shifts as $shift) {
$key = $shift['start'] . '-shift-' . $shift['SID'];
$key = $shift['start'] . '-shift-' . $shift['SID'] . '-' . $shift['id'];
$myshifts_table[$key] = User_view_myshift($shift, $user_source, $its_me);
if (!$shift['freeloaded']) {

Loading…
Cancel
Save