summaryrefslogtreecommitdiff
path: root/includes/pages/user_shifts.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/pages/user_shifts.php')
-rw-r--r--includes/pages/user_shifts.php4
1 files changed, 2 insertions, 2 deletions
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 .= "<br /><b>";
- $shifts_row .= '<a href="' . shift_link($shift) . '">' . $shift['name'] . '</a>';
+ $shifts_row .= '<a href="' . shift_link($shift) . '">' . ShiftType($shift['shifttype_id'])['name'] . '</a>';
$shifts_row .= "</b><br />";
- $shifts_row .= '<a href="' . shift_link($shift) . '">' . $shift['name'] . '</a>';
+ $shifts_row .= '<a href="' . shift_link($shift) . '">' . $shift['title'] . '</a>';
$shifts_row .= "<br />";
if (in_array('admin_shifts', $privileges))
$shifts_row .= ' ' . table_buttons(array(