mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-31 19:49:20 +02:00
[feature/avatars] Do not assign in an if statement
PHPBB3-10018
This commit is contained in:
parent
a1132fc5c7
commit
b2b812f171
@ -468,7 +468,8 @@ class acp_users
|
||||
$db->sql_query($sql);
|
||||
|
||||
// Delete old avatar if present
|
||||
if ($driver = $phpbb_avatar_manager->get_driver($user_row['user_avatar_type']))
|
||||
$driver = $phpbb_avatar_manager->get_driver($user_row['user_avatar_type']);
|
||||
if ($driver)
|
||||
{
|
||||
$driver->delete($user_row);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user