From edcf794a326d967e5a6870493ba4b1d355fe5bc2 Mon Sep 17 00:00:00 2001 From: msquare Date: Fri, 23 Aug 2019 15:22:59 +0200 Subject: [PATCH] fixes #644: display shifts with same start time on user myshifts page --- includes/view/User_view.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/view/User_view.php b/includes/view/User_view.php index c8d60994..ebbe065d 100644 --- a/includes/view/User_view.php +++ b/includes/view/User_view.php @@ -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']);