1
0
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:
Cullen Walsh
2011-04-19 11:19:47 -07:00
committed by Cullen Walsh
parent f02f621686
commit 019b9bc073
3 changed files with 82 additions and 41 deletions

View File

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