diff options
author | Meik Sievertsen <acydburn@phpbb.com> | 2007-01-10 16:47:16 +0000 |
---|---|---|
committer | Meik Sievertsen <acydburn@phpbb.com> | 2007-01-10 16:47:16 +0000 |
commit | b621bb66c50e534086226df89e5c0764535f5832 (patch) | |
tree | c180852586715d81d37537de19f4eada8be1fa9b /phpBB/memberlist.php | |
parent | 31ee257ab8232072676df0d4d354ff7a5a0b1416 (diff) | |
download | forums-b621bb66c50e534086226df89e5c0764535f5832.tar forums-b621bb66c50e534086226df89e5c0764535f5832.tar.gz forums-b621bb66c50e534086226df89e5c0764535f5832.tar.bz2 forums-b621bb66c50e534086226df89e5c0764535f5832.tar.xz forums-b621bb66c50e534086226df89e5c0764535f5832.zip |
fix some general bugs and some convertor related
git-svn-id: file:///svn/phpbb/trunk@6872 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/memberlist.php')
-rw-r--r-- | phpBB/memberlist.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/memberlist.php b/phpBB/memberlist.php index dad73d8a64..340fc1e02c 100644 --- a/phpBB/memberlist.php +++ b/phpBB/memberlist.php @@ -515,8 +515,8 @@ switch ($mode) 'U_SWITCH_PERMISSIONS' => ($auth->acl_get('a_switchperm') && $user->data['user_id'] != $user_id) ? append_sid("{$phpbb_root_path}ucp.$phpEx", "mode=switch_perm&u={$user_id}") : '', 'S_ZEBRA' => ($user->data['user_id'] != $user_id && $user->data['is_registered'] && $zebra_enabled) ? true : false, - 'U_ADD_FRIEND' => (!$friend) ? append_sid("{$phpbb_root_path}ucp.$phpEx", 'i=zebra&add=' . urlencode($member['username'])) : '', - 'U_ADD_FOE' => (!$foe) ? append_sid("{$phpbb_root_path}ucp.$phpEx", 'i=zebra&mode=foes&add=' . urlencode($member['username'])) : '', + 'U_ADD_FRIEND' => (!$friend) ? append_sid("{$phpbb_root_path}ucp.$phpEx", 'i=zebra&add=' . urlencode(htmlspecialchars_decode($member['username']))) : '', + 'U_ADD_FOE' => (!$foe) ? append_sid("{$phpbb_root_path}ucp.$phpEx", 'i=zebra&mode=foes&add=' . urlencode(htmlspecialchars_decode($member['username']))) : '', 'U_REMOVE_FRIEND' => ($friend) ? append_sid("{$phpbb_root_path}ucp.$phpEx", 'i=zebra&remove=1&usernames[]=' . $user_id) : '', 'U_REMOVE_FOE' => ($foe) ? append_sid("{$phpbb_root_path}ucp.$phpEx", 'i=zebra&remove=1&usernames[]=' . $user_id) : '', )); |