diff --git a/includes/view/User_view.php b/includes/view/User_view.php index 0bea946c..6003c786 100644 --- a/includes/view/User_view.php +++ b/includes/view/User_view.php @@ -103,12 +103,12 @@ function User_view($user_source, $admin_user_privilege, $freeloader, $user_angel $shift_info .= '
' . $needed_angel_type['name'] . ': '; $shift_entries = array(); - foreach ($needed_angel_type['users'] as $user_source) { + foreach ($needed_angel_type['users'] as $user_shift) { if ($its_me) - $member = '' . User_Nick_render($user_source) . ''; + $member = '' . User_Nick_render($user_shift) . ''; else - $member = User_Nick_render($user_source); - if ($user_source['freeloaded']) + $member = User_Nick_render($user_shift); + if ($user_shift['freeloaded']) $member = '' . $member . ''; $shift_entries[] = $member; @@ -273,4 +273,4 @@ function User_Nick_render($user_source) { return ' ' . htmlspecialchars($user_source['Nick']) . ''; } -?> \ No newline at end of file +?>