mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
Fixed bug #844, admin can't upload avatar for user
git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@3115 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
1a7b28a2f8
commit
33ec3a07cb
1 changed files with 1 additions and 1 deletions
|
@ -436,7 +436,7 @@ if( $mode == 'edit' || $mode == 'save' && ( isset($HTTP_POST_VARS['username']) |
|
|||
{
|
||||
if( file_exists(@realpath($user_avatar_loc)) && ereg(".jpg$|.gif$|.png$", $user_avatar_name) )
|
||||
{
|
||||
if( $user_avatar_size <= $board_config['avatar_filesize'] && $avatar_size > 0)
|
||||
if( $user_avatar_size <= $board_config['avatar_filesize'] && $user_avatar_size > 0)
|
||||
{
|
||||
$error_type = false;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue