Use Mystery man default gravatar image
This commit is contained in:
parent
78530afa44
commit
a936255407
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue