Use Mystery man default gravatar image

This commit is contained in:
Samuel Georges 2015-01-18 15:00:05 +11:00
parent 78530afa44
commit a936255407
1 changed files with 4 additions and 0 deletions

View File

@ -78,6 +78,10 @@ class User extends UserBase
*/
public function getAvatarThumb($size = 25, $default = null)
{
if (!$default) {
$default = 'mm'; // Mystery man
}
if ($this->avatar) {
return $this->avatar->getThumb($size, $size);
}