mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
[feature/avatars] Implement avatar uploads for ucp
As above, implement avatar uploads from local and remote sources in the UCP. PHPBB3-10018
This commit is contained in:
committed by
Cullen Walsh
parent
f02f621686
commit
019b9bc073
@@ -570,7 +570,7 @@ class ucp_profile
|
||||
{
|
||||
$result = $avatar->handle_form($template, $user->data, $error, true);
|
||||
|
||||
if (empty($error))
|
||||
if ($result && empty($error))
|
||||
{
|
||||
// Success! Lets save the result in the database
|
||||
$result['user_avatar_type'] = $driver;
|
||||
|
Reference in New Issue
Block a user