mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 22:28:51 +00:00
Wasn't reporting oversized (filesize) avatars ... again.
git-svn-id: file:///svn/phpbb/trunk@2472 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
024a7d7b3e
commit
c1e0fb7150
1 changed files with 1 additions and 1 deletions
|
@ -358,7 +358,7 @@ if ( isset($HTTP_POST_VARS['submit']) )
|
||||||
{
|
{
|
||||||
$avatar_sql = user_avatar_delete($userdata['avatar_type'], $userdata['avatar_file']);
|
$avatar_sql = user_avatar_delete($userdata['avatar_type'], $userdata['avatar_file']);
|
||||||
}
|
}
|
||||||
else if ( !empty($user_avatar_upload) && $board_config['allow_avatar_upload'] )
|
else if ( ( !empty($user_avatar_upload) || !empty($user_avatar_name) ) && $board_config['allow_avatar_upload'] )
|
||||||
{
|
{
|
||||||
if ( !empty($user_avatar_upload) )
|
if ( !empty($user_avatar_upload) )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue