diff options
author | Dries Buytaert <dries@buytaert.net> | 2004-07-28 20:18:11 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2004-07-28 20:18:11 +0000 |
commit | bd4f4ebbc33d962d9c05552d0a7167ba9cfb5bfc (patch) | |
tree | a7d585ae58870831a4158bfb6d163236ee3c76a0 /modules/user/user.module | |
parent | d21207ae85e8dc27aebb38fc681db85371f429de (diff) | |
download | brdo-bd4f4ebbc33d962d9c05552d0a7167ba9cfb5bfc.tar.gz brdo-bd4f4ebbc33d962d9c05552d0a7167ba9cfb5bfc.tar.bz2 |
- Patch #9547 by Eric: fixed avatar/picture upload bug.
Diffstat (limited to 'modules/user/user.module')
-rw-r--r-- | modules/user/user.module | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/user/user.module b/modules/user/user.module index 59f1a1d3d..ea10b2cd6 100644 --- a/modules/user/user.module +++ b/modules/user/user.module @@ -1053,6 +1053,7 @@ function user_edit_validate($uid, &$edit) { // If required, validate the uploaded picture. if ($file = file_check_upload('picture')) { + $user = user_load(array('uid' => $uid)); user_validate_picture($file, $edit, $user); } |