diff --git a/includes/pages/user_myshifts.php b/includes/pages/user_myshifts.php index 36ab9f36..f21b11b2 100644 --- a/includes/pages/user_myshifts.php +++ b/includes/pages/user_myshifts.php @@ -106,11 +106,12 @@ function user_myshifts() { $html .= img_button(page_link_to('user_myshifts') . (($id != $user['UID'])? '&id=' . $id : '') . '&cancel=' . $shift['id'], 'cross', 'sign_off'); $html .= ''; $html .= ''; + + $timesum += $shift['end'] - $shift['start']; } if ($html == "") $html = '