User view: Show double assigned shifts
closes #674 (Number of shifts differs in web interface and API response)
This commit is contained in:
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…
Reference in New Issue