From b069a938c6721ab5adddcbec4cff858ded6f0e1e Mon Sep 17 00:00:00 2001 From: Igor Scheller Date: Tue, 9 Oct 2018 20:38:13 +0200 Subject: Changed user_link and some other user functions to use the user id --- includes/view/Shifts_view.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'includes/view/Shifts_view.php') 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), ' ' . __('My shifts')); + $buttons[] = button(user_link($user['UID']), ' ' . __('My shifts')); $content[] = buttons($buttons); $content[] = Shift_view_header($shift, $room); -- cgit v1.3.1