diff options
author | Joas Schilling <nickvergessen@gmx.de> | 2012-03-01 16:15:11 +0100 |
---|---|---|
committer | Joas Schilling <nickvergessen@gmx.de> | 2012-12-06 15:10:29 +0100 |
commit | 4103c99a8676653a868014a6f58a76e8986bd5ed (patch) | |
tree | d51e247df33f3189bb530dfbc2102fc7e98bdde0 /phpBB/includes/ucp | |
parent | 2364d4b2172c9f54520f04001b29c517d7138b69 (diff) | |
download | forums-4103c99a8676653a868014a6f58a76e8986bd5ed.tar forums-4103c99a8676653a868014a6f58a76e8986bd5ed.tar.gz forums-4103c99a8676653a868014a6f58a76e8986bd5ed.tar.bz2 forums-4103c99a8676653a868014a6f58a76e8986bd5ed.tar.xz forums-4103c99a8676653a868014a6f58a76e8986bd5ed.zip |
[ticket/10679] Add new permission for changing profile field information
The setting is copied from "Can use signature"
PHPBB3-10679
Diffstat (limited to 'phpBB/includes/ucp')
-rw-r--r-- | phpBB/includes/ucp/ucp_profile.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/phpBB/includes/ucp/ucp_profile.php b/phpBB/includes/ucp/ucp_profile.php index 89bf20a30f..e7cea06a45 100644 --- a/phpBB/includes/ucp/ucp_profile.php +++ b/phpBB/includes/ucp/ucp_profile.php @@ -251,6 +251,11 @@ class ucp_profile break; case 'profile_info': + // Do not display profile information panel if not authed to do so + if (!$auth->acl_get('u_chgprofileinfo')) + { + trigger_error('NO_AUTH_PROFILEINFO'); + } include($phpbb_root_path . 'includes/functions_profile_fields.' . $phpEx); |