Always return an avatar, and set a fun default
This commit is contained in:
@@ -287,7 +287,8 @@ class UserPresenter extends Presenter
|
||||
return "//gravatar.com/avatar/".$gravatar;
|
||||
}
|
||||
|
||||
return false;
|
||||
// Set a fun, gender-neutral default icon
|
||||
return url('/').'/img/default-sm.png';
|
||||
|
||||
}
|
||||
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 18 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 28 KiB |
Reference in New Issue
Block a user