mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-08 23:19:04 +01:00
also allow calling Mail\Avatar::getAvatar() without an email
This commit is contained in:
parent
104ecb2732
commit
5d35fcd990
@ -28,7 +28,7 @@ class Avatar
|
||||
* @return string|null
|
||||
* @ToDo add a domain based image as fallback eg. as fallback from their website
|
||||
*/
|
||||
static function getAvatar(string $address, array &$lavatar=null)
|
||||
static function getAvatar(string $address=null, array &$lavatar=null)
|
||||
{
|
||||
if (empty($address))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user