aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/acp/acp_users.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2014-03-22 15:07:01 +0100
committerJoas Schilling <nickvergessen@gmx.de>2014-03-22 15:07:01 +0100
commit5197e5afe387e331a80c39db4fa524562f615b97 (patch)
treed3585544a172801bdbf5dda6ce80aa41b19d5a96 /phpBB/includes/acp/acp_users.php
parentbdab6dede016854d65f31ae869924ac9f7e98ce9 (diff)
parent663eb74cf3bb789c0916be2d3bc2c00eb5f4f8b5 (diff)
downloadforums-5197e5afe387e331a80c39db4fa524562f615b97.tar
forums-5197e5afe387e331a80c39db4fa524562f615b97.tar.gz
forums-5197e5afe387e331a80c39db4fa524562f615b97.tar.bz2
forums-5197e5afe387e331a80c39db4fa524562f615b97.tar.xz
forums-5197e5afe387e331a80c39db4fa524562f615b97.zip
Merge remote-tracking branch 'geetakshi/ticket/12035' into develop-olympus
* geetakshi/ticket/12035: [ticket/12035] Correcting the condition [ticket/12035] Adding necessary conditions [ticket/12035] Adding link to user posts to ACP page
Diffstat (limited to 'phpBB/includes/acp/acp_users.php')
-rw-r--r--phpBB/includes/acp/acp_users.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/phpBB/includes/acp/acp_users.php b/phpBB/includes/acp/acp_users.php
index 61d08a49cf..8aaefb02c5 100644
--- a/phpBB/includes/acp/acp_users.php
+++ b/phpBB/includes/acp/acp_users.php
@@ -1037,6 +1037,7 @@ class acp_users
'U_SHOW_IP' => $this->u_action . "&amp;u=$user_id&amp;ip=" . (($ip == 'ip') ? 'hostname' : 'ip'),
'U_WHOIS' => $this->u_action . "&amp;action=whois&amp;user_ip={$user_row['user_ip']}",
'U_MCP_QUEUE' => ($auth->acl_getf_global('m_approve')) ? append_sid("{$phpbb_root_path}mcp.$phpEx", 'i=queue', true, $user->session_id) : '',
+ 'U_SEARCH_USER' => ($config['load_search'] && $auth->acl_get('u_search')) ? append_sid("{$phpbb_root_path}search.$phpEx", "author_id={$user_row['user_id']}&amp;sr=posts") : '',
'U_SWITCH_PERMISSIONS' => ($auth->acl_get('a_switchperm') && $user->data['user_id'] != $user_row['user_id']) ? append_sid("{$phpbb_root_path}ucp.$phpEx", "mode=switch_perm&amp;u={$user_row['user_id']}&amp;hash=" . generate_link_hash('switchperm')) : '',