summaryrefslogtreecommitdiff
path: root/includes/view/Shifts_view.php
diff options
context:
space:
mode:
authorIgor Scheller <igor.scheller@igorshp.de>2018-10-09 20:38:13 +0200
committermsquare <msquare@notrademark.de>2018-10-31 13:43:23 +0100
commitb069a938c6721ab5adddcbec4cff858ded6f0e1e (patch)
tree56f1da8663212ec14632cda03666928da96e1fbb /includes/view/Shifts_view.php
parent2dcb7cc2de448c664bbc9a7112f9cb13dc15c516 (diff)
Changed user_link and some other user functions to use the user id
Diffstat (limited to 'includes/view/Shifts_view.php')
-rw-r--r--includes/view/Shifts_view.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/view/Shifts_view.php b/includes/view/Shifts_view.php
index 0aa89f2e..92447efd 100644
--- a/includes/view/Shifts_view.php
+++ b/includes/view/Shifts_view.php
@@ -141,7 +141,7 @@ function Shift_view($shift, $shifttype, $room, $angeltypes_source, ShiftSignupSt
$admin_rooms ? button(room_link($room), glyph('map-marker') . $room['Name']) : '',
];
}
- $buttons[] = button(user_link($user), '<span class="icon-icon_angel"></span> ' . __('My shifts'));
+ $buttons[] = button(user_link($user['UID']), '<span class="icon-icon_angel"></span> ' . __('My shifts'));
$content[] = buttons($buttons);
$content[] = Shift_view_header($shift, $room);