summaryrefslogtreecommitdiff
path: root/includes/view
diff options
context:
space:
mode:
authormsquare <msquare@notrademark.de>2014-11-25 18:37:07 +0100
committermsquare <msquare@notrademark.de>2014-11-25 18:37:07 +0100
commit17c41d821cdcb16b1374d6e6ba0635fabc49e987 (patch)
treee3e509c79161c5957d53d2536c562c293ecbd0f6 /includes/view
parent2732ae7f4f4d9ebf89c0a927c08ab460ff61ded8 (diff)
parent946e3292d0243bc4bf87ede6a1fcd31b10b208b9 (diff)
Merge pull request #161 from robofish/master
Fix Nickname and DECT bug in user view
Diffstat (limited to 'includes/view')
-rw-r--r--includes/view/User_view.php10
1 files 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 .= '<br><b>' . $needed_angel_type['name'] . ':</b> ';
$shift_entries = array();
- foreach ($needed_angel_type['users'] as $user_source) {
+ foreach ($needed_angel_type['users'] as $user_shift) {
if ($its_me)
- $member = '<strong>' . User_Nick_render($user_source) . '</strong>';
+ $member = '<strong>' . User_Nick_render($user_shift) . '</strong>';
else
- $member = User_Nick_render($user_source);
- if ($user_source['freeloaded'])
+ $member = User_Nick_render($user_shift);
+ if ($user_shift['freeloaded'])
$member = '<strike>' . $member . '</strike>';
$shift_entries[] = $member;
@@ -273,4 +273,4 @@ function User_Nick_render($user_source) {
return '<a href="' . page_link_to('users') . '&amp;action=view&amp;user_id=' . $user_source['UID'] . '"><span class="icon-icon_angel"></span> ' . htmlspecialchars($user_source['Nick']) . '</a>';
}
-?> \ No newline at end of file
+?>