fixes #644: display shifts with same start time on user myshifts page

This commit is contained in:
msquare 2019-08-23 15:22:59 +02:00
parent 69b3a2440c
commit edcf794a32
1 changed files with 1 additions and 1 deletions

View File

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