diff options
author | Igor Scheller <igor.scheller@igorshp.de> | 2018-10-09 20:38:13 +0200 |
---|---|---|
committer | msquare <msquare@notrademark.de> | 2018-10-31 13:43:23 +0100 |
commit | b069a938c6721ab5adddcbec4cff858ded6f0e1e (patch) | |
tree | 56f1da8663212ec14632cda03666928da96e1fbb /includes/view/ShiftEntry_view.php | |
parent | 2dcb7cc2de448c664bbc9a7112f9cb13dc15c516 (diff) |
Changed user_link and some other user functions to use the user id
Diffstat (limited to 'includes/view/ShiftEntry_view.php')
-rw-r--r-- | includes/view/ShiftEntry_view.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/view/ShiftEntry_view.php b/includes/view/ShiftEntry_view.php index 7884e404..1d6ba3a3 100644 --- a/includes/view/ShiftEntry_view.php +++ b/includes/view/ShiftEntry_view.php @@ -22,7 +22,7 @@ function ShiftEntry_delete_view_admin($shiftEntry, $shift, $angeltype, $signoff_ $angeltype['name'] ), true), buttons([ - button(user_link($signoff_user), glyph('remove') . __('cancel')), + button(user_link($signoff_user['UID']), glyph('remove') . __('cancel')), button(shift_entry_delete_link($shiftEntry, [ 'continue' => 1 ]), glyph('ok') . __('delete'), 'btn-danger') @@ -51,7 +51,7 @@ function ShiftEntry_delete_view($shiftEntry, $shift, $angeltype, $signoff_user) $angeltype['name'] ), true), buttons([ - button(user_link($signoff_user), glyph('remove') . __('cancel')), + button(user_link($signoff_user['UID']), glyph('remove') . __('cancel')), button(shift_entry_delete_link($shiftEntry, [ 'continue' => 1 ]), glyph('ok') . __('delete'), 'btn-danger') |