1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-07 09:16:55 +02:00

[ticket/10679] Add new permission for changing profile field information

The setting is copied from "Can use signature"

PHPBB3-10679
This commit is contained in:
Joas Schilling
2012-03-01 16:15:11 +01:00
parent 2364d4b217
commit 4103c99a86
6 changed files with 59 additions and 5 deletions

View File

@@ -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);