summaryrefslogtreecommitdiff
path: root/includes/view/User_view.php
diff options
context:
space:
mode:
authormsquare <msquare@notrademark.de>2019-08-23 15:22:59 +0200
committermsquare <msquare@notrademark.de>2019-08-23 15:23:04 +0200
commitedcf794a326d967e5a6870493ba4b1d355fe5bc2 (patch)
tree00920ac912aa6f37ab15a3df2f72a21e5b9183cb /includes/view/User_view.php
parent69b3a2440cd538ee59149588ad9faf2becfbc530 (diff)
fixes #644: display shifts with same start time on user myshifts page
Diffstat (limited to 'includes/view/User_view.php')
-rw-r--r--includes/view/User_view.php2
1 files changed, 1 insertions, 1 deletions
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']);