From 90a5e5ec14e8bfe6ae5679d1030aa56f3ab42eaa Mon Sep 17 00:00:00 2001 From: illuxio Date: Tue, 25 Nov 2014 17:30:17 +0100 Subject: [PATCH] Update User_view.php Fix Nickname and DECT bug in settings. --- includes/view/User_view.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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 +?>