diff options
Diffstat (limited to 'mod/twitterservice')
-rw-r--r-- | mod/twitterservice/twitterservice_lib.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/twitterservice/twitterservice_lib.php b/mod/twitterservice/twitterservice_lib.php index fa6fb9111..5d04714f0 100644 --- a/mod/twitterservice/twitterservice_lib.php +++ b/mod/twitterservice/twitterservice_lib.php @@ -191,7 +191,7 @@ function twitterservice_update_user_avatar($user, $file_location) { $dimensions[2] ); - $filehandler->setFilename("profile/$user->username$size.jpg"); + $filehandler->setFilename("profile/$user->guid$size.jpg"); $filehandler->open('write'); $filehandler->write($image); $filehandler->close(); @@ -319,4 +319,4 @@ function twitterservice_allow_new_users_with_twitter() { } return false; -}
\ No newline at end of file +} |