From c12e5336fbe93c4596bd26c2bc4c9ee7390759fc Mon Sep 17 00:00:00 2001 From: Philip Häusler Date: Mon, 22 Dec 2014 18:06:58 +0100 Subject: display shifts with title --- includes/pages/user_shifts.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'includes/pages') diff --git a/includes/pages/user_shifts.php b/includes/pages/user_shifts.php index c8633cc5..70a674fb 100644 --- a/includes/pages/user_shifts.php +++ b/includes/pages/user_shifts.php @@ -551,9 +551,9 @@ function view_user_shifts() { $shifts_row .= " – "; $shifts_row .= date('H:i', $shift['end']); $shifts_row .= "
"; - $shifts_row .= '' . $shift['name'] . ''; + $shifts_row .= '' . ShiftType($shift['shifttype_id'])['name'] . ''; $shifts_row .= "
"; - $shifts_row .= '' . $shift['name'] . ''; + $shifts_row .= '' . $shift['title'] . ''; $shifts_row .= "
"; if (in_array('admin_shifts', $privileges)) $shifts_row .= ' ' . table_buttons(array( -- cgit v1.2.3-54-g00ecf