mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
Fix for non-deleting of avatars
git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@2547 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
07335ca2c8
commit
142f3bd9d1
1 changed files with 1 additions and 1 deletions
|
@ -352,7 +352,7 @@ if ( isset($HTTP_POST_VARS['submit']) )
|
||||||
|
|
||||||
if ( isset($HTTP_POST_VARS['avatardel']) && $mode == 'editprofile' )
|
if ( isset($HTTP_POST_VARS['avatardel']) && $mode == 'editprofile' )
|
||||||
{
|
{
|
||||||
$avatar_sql = user_avatar_delete($userdata['avatar_type'], $userdata['avatar_file']);
|
$avatar_sql = user_avatar_delete($userdata['user_avatar_type'], $userdata['user_avatar_file']);
|
||||||
}
|
}
|
||||||
else if ( ( !empty($user_avatar_upload) || !empty($user_avatar_name) ) && $board_config['allow_avatar_upload'] )
|
else if ( ( !empty($user_avatar_upload) || !empty($user_avatar_name) ) && $board_config['allow_avatar_upload'] )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue