summaryrefslogtreecommitdiff
path: root/includes/pages
diff options
context:
space:
mode:
authorPhilip Häusler <msquare@notrademark.de>2014-12-22 18:06:58 +0100
committerPhilip Häusler <msquare@notrademark.de>2014-12-22 18:06:58 +0100
commitc12e5336fbe93c4596bd26c2bc4c9ee7390759fc (patch)
tree528ba766e5fb4817a9864c92d1fcc1829674beb3 /includes/pages
parent6a05c3d9deb306eb7f64b275f54ec9dffec31023 (diff)
display shifts with title
Diffstat (limited to 'includes/pages')
-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 .= " &ndash; ";
$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(