-
Bug
-
Resolution: Fixed
-
3.0.3
-
None
-
PHP Environment:
Database:
The link to ban a user is visible in your own profile.
after a few seconds in the qa-channel this is supposed to be a bug
memberlist.php
find:
'U_USER_BAN' => ($auth->acl_get('m_ban')) ? append_sid("{$phpbb_root_path}mcp.$phpEx", 'i=ban&mode=user&u=' . $user_id, true, $user->session_id) : '',
|
replace with:
'U_USER_BAN' => ($auth->acl_get('m_ban') && $user->data['user_id'] != $user_id) ? append_sid("{$phpbb_root_path}mcp.$phpEx", 'i=ban&mode=user&u=' . $user_id, true, $user->session_id) : '',
|