mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
Fix for avatar gallery cancel appearing to delete avatar
git-svn-id: file:///svn/phpbb/trunk@2313 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
6066b8a5b0
commit
ca1926c032
1 changed files with 6 additions and 2 deletions
|
@ -193,10 +193,14 @@ if ( isset($HTTP_POST_VARS['submit']) || isset($HTTP_POST_VARS['avatargallery'])
|
|||
|
||||
$user_lang = stripslashes($user_lang);
|
||||
$user_dateformat = stripslashes($user_dateformat);
|
||||
|
||||
if ( !isset($HTTP_POST_VARS['cancelavatar']))
|
||||
{
|
||||
$user_avatar = $user_avatar_local;
|
||||
$user_avatar_type = USER_AVATAR_GALLERY;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue