diff options
author | the_systech <the_systech@users.sourceforge.net> | 2002-03-01 18:04:27 +0000 |
---|---|---|
committer | the_systech <the_systech@users.sourceforge.net> | 2002-03-01 18:04:27 +0000 |
commit | 89ceaa9975343ebc0ce817d64ad62a282c11beb9 (patch) | |
tree | 9ef0742ee39c12aba8a3798a795575c7c3d443c5 /phpBB/admin/admin_users.php | |
parent | ebef1197964061ae2f2eb17dce2061fad1df6a35 (diff) | |
download | forums-89ceaa9975343ebc0ce817d64ad62a282c11beb9.tar forums-89ceaa9975343ebc0ce817d64ad62a282c11beb9.tar.gz forums-89ceaa9975343ebc0ce817d64ad62a282c11beb9.tar.bz2 forums-89ceaa9975343ebc0ce817d64ad62a282c11beb9.tar.xz forums-89ceaa9975343ebc0ce817d64ad62a282c11beb9.zip |
Oops I did a Paul... Still allow avatar uploads from Urls
git-svn-id: file:///svn/phpbb/trunk@2243 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/admin/admin_users.php')
-rw-r--r-- | phpBB/admin/admin_users.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/phpBB/admin/admin_users.php b/phpBB/admin/admin_users.php index bbc9905fda..a9cf26b336 100644 --- a/phpBB/admin/admin_users.php +++ b/phpBB/admin/admin_users.php @@ -1107,6 +1107,10 @@ if( $mode == "edit" || $mode == "save" && ( isset($HTTP_POST_VARS['username']) | if( file_exists("./../" . $board_config['avatar_path']) ) { $template->assign_block_vars("avatarupload", array() ); + if($form_enctype != '') + { + $template->assign_block_vars('avatarupload.fileuploads', array() ); + } } if( file_exists("./../" . $board_config['avatar_gallery_path']) ) |