aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/memberlist.php
diff options
context:
space:
mode:
authorNils Adermann <naderman@naderman.de>2007-04-15 10:59:26 +0000
committerNils Adermann <naderman@naderman.de>2007-04-15 10:59:26 +0000
commitfb2454314450ad36dc5c1480749dad51d9d1c87e (patch)
treedd503ebacd6c8b112193fb3739e779fce81333b8 /phpBB/memberlist.php
parent5cde784419c77fe808e03b47007ef8f12fa83049 (diff)
downloadforums-fb2454314450ad36dc5c1480749dad51d9d1c87e.tar
forums-fb2454314450ad36dc5c1480749dad51d9d1c87e.tar.gz
forums-fb2454314450ad36dc5c1480749dad51d9d1c87e.tar.bz2
forums-fb2454314450ad36dc5c1480749dad51d9d1c87e.tar.xz
forums-fb2454314450ad36dc5c1480749dad51d9d1c87e.zip
- m_warn is no longer a local moderation permission
- magic urls should properly use html entities - speed up posting on big boards, MAX(post_id) query can be simplified a lot in certain cases - user IP list should be labelled with "Other users" [Bug #9707] git-svn-id: file:///svn/phpbb/trunk@7355 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/memberlist.php')
-rw-r--r--phpBB/memberlist.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/memberlist.php b/phpBB/memberlist.php
index bad74fe12d..9659a96a6c 100644
--- a/phpBB/memberlist.php
+++ b/phpBB/memberlist.php
@@ -1464,7 +1464,7 @@ function show_profile($data)
'U_SEARCH_USER' => ($auth->acl_get('u_search')) ? append_sid("{$phpbb_root_path}search.$phpEx", "author_id=$user_id&amp;sr=posts") : '',
'U_NOTES' => $auth->acl_getf_global('m_') ? append_sid("{$phpbb_root_path}mcp.$phpEx", 'i=notes&amp;mode=user_notes&amp;u=' . $user_id, true, $user->session_id) : '',
- 'U_WARN' => $auth->acl_getf_global('m_warn') ? append_sid("{$phpbb_root_path}mcp.$phpEx", 'i=warn&amp;mode=warn_user&amp;u=' . $user_id, true, $user->session_id) : '',
+ 'U_WARN' => $auth->acl_get('m_warn') ? append_sid("{$phpbb_root_path}mcp.$phpEx", 'i=warn&amp;mode=warn_user&amp;u=' . $user_id, true, $user->session_id) : '',
'U_PM' => ($config['allow_privmsg'] && $auth->acl_get('u_sendpm') && ($data['user_allow_pm'] || $auth->acl_gets('a_', 'm_') || $auth->acl_getf_global('m_'))) ? append_sid("{$phpbb_root_path}ucp.$phpEx", 'i=pm&amp;mode=compose&amp;u=' . $user_id) : '',
'U_EMAIL' => $email,
'U_WWW' => (!empty($data['user_website'])) ? $data['user_website'] : '',