diff options
| author | Meik Sievertsen <acydburn@phpbb.com> | 2006-12-21 10:37:50 +0000 |
|---|---|---|
| committer | Meik Sievertsen <acydburn@phpbb.com> | 2006-12-21 10:37:50 +0000 |
| commit | 515085a2a2d4b06989566a60b8add3fa4864f1e3 (patch) | |
| tree | 9000d688dc33511560a9d08191b87d1340f70af3 /phpBB/includes/functions_user.php | |
| parent | 2e1eef2713f7891ce9d78736ceae6d2faf93fc4b (diff) | |
| download | forums-515085a2a2d4b06989566a60b8add3fa4864f1e3.tar forums-515085a2a2d4b06989566a60b8add3fa4864f1e3.tar.gz forums-515085a2a2d4b06989566a60b8add3fa4864f1e3.tar.bz2 forums-515085a2a2d4b06989566a60b8add3fa4864f1e3.tar.xz forums-515085a2a2d4b06989566a60b8add3fa4864f1e3.zip | |
- some fixes
- important bugfix for the mcp and determining allowed ids in general (if global announcements are included)
git-svn-id: file:///svn/phpbb/trunk@6787 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions_user.php')
| -rw-r--r-- | phpBB/includes/functions_user.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/phpBB/includes/functions_user.php b/phpBB/includes/functions_user.php index 6cd35bfd7f..55725b2cfd 100644 --- a/phpBB/includes/functions_user.php +++ b/phpBB/includes/functions_user.php @@ -1409,7 +1409,8 @@ function avatar_upload($data, &$error) $destination = ''; } - $file->move_file($destination); + // Move file and overwrite any existing image + $file->move_file($destination, true); if (sizeof($file->error)) { |
