diff options
author | PayBas <contact@paybas.com> | 2014-10-14 10:59:03 +0200 |
---|---|---|
committer | PayBas <contact@paybas.com> | 2014-10-14 10:59:03 +0200 |
commit | 253c6e1fc1ad6b9b7ac9d210af8e17a59df161e4 (patch) | |
tree | fe80d8766197a1d0c2cb689b3ff526edccdda510 /phpBB/memberlist.php | |
parent | 29b54d12ccece3ad0120089c17b0886e3b77f3d1 (diff) | |
download | forums-253c6e1fc1ad6b9b7ac9d210af8e17a59df161e4.tar forums-253c6e1fc1ad6b9b7ac9d210af8e17a59df161e4.tar.gz forums-253c6e1fc1ad6b9b7ac9d210af8e17a59df161e4.tar.bz2 forums-253c6e1fc1ad6b9b7ac9d210af8e17a59df161e4.tar.xz forums-253c6e1fc1ad6b9b7ac9d210af8e17a59df161e4.zip |
[ticket/12796] Add view own profile to UCP (and vice versa)
PHPBB3-12796
Diffstat (limited to 'phpBB/memberlist.php')
-rw-r--r-- | phpBB/memberlist.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/phpBB/memberlist.php b/phpBB/memberlist.php index 919036a85c..872114905e 100644 --- a/phpBB/memberlist.php +++ b/phpBB/memberlist.php @@ -681,6 +681,7 @@ switch ($mode) 'U_MCP_QUEUE' => ($auth->acl_getf_global('m_approve')) ? append_sid("{$phpbb_root_path}mcp.$phpEx", 'i=queue', true, $user->session_id) : '', '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}&hash=" . generate_link_hash('switchperm')) : '', + 'U_EDIT_SELF' => ($user_id == $user->data['user_id']) ? append_sid("{$phpbb_root_path}ucp.$phpEx", 'i=ucp_profile&mode=profile_info') : '', 'S_USER_NOTES' => ($user_notes_enabled) ? true : false, 'S_WARN_USER' => ($warn_user_enabled) ? true : false, |