Release Fixes

This commit is contained in:
jonatanrek committed 2020-03-25 15:58:47 +01:00
1 parent b2a8734ed3
commit 12212d6c56
11 files changed
+141 -70

No files matched your search

+4 -1
View File
@@ -31,8 +31,11 @@ class UserManager
}
}
public function getAvatarUrl(){
public function getAvatarUrl($userId = null){
$email = self::getUserData('email');
if ($userId != null){
$email = self::getUserData('email',$userId);
}
return 'https://secure.gravatar.com/avatar/' . md5( strtolower( trim( $email ) ) );
}