mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
Merge branch 'ticket/bantu/9451' into develop-olympus
* ticket/bantu/9451: [ticket/9451] Add optional $can_upload parameter to avatar_process_user().
This commit is contained in:
@@ -1706,7 +1706,7 @@ class acp_users
|
||||
trigger_error($user->lang['FORM_INVALID'] . adm_back_link($this->u_action . '&u=' . $user_id), E_USER_WARNING);
|
||||
}
|
||||
|
||||
if (avatar_process_user($error, $user_row))
|
||||
if (avatar_process_user($error, $user_row, $can_upload))
|
||||
{
|
||||
trigger_error($user->lang['USER_AVATAR_UPDATED'] . adm_back_link($this->u_action . '&u=' . $user_row['user_id']));
|
||||
}
|
||||
|
Reference in New Issue
Block a user