diff --git a/includes/view/User_view.php b/includes/view/User_view.php
index 11556430..84f89894 100644
--- a/includes/view/User_view.php
+++ b/includes/view/User_view.php
@@ -234,9 +234,9 @@ function User_last_shift_render($user)
*/
function User_view_shiftentries($needed_angel_type)
{
- $shift_info = '
'view', 'angeltype_id' => $needed_angel_type['id']])
- . '">' . $needed_angel_type['name'] . ': ';
+ . '">' . $needed_angel_type['name'] . ': ';
$shift_entries = [];
foreach ($needed_angel_type['users'] as $user_shift) {