also allow calling Mail\Avatar::getAvatar() without an email

This commit is contained in:
ralf 2023-05-10 16:08:53 +02:00
parent 104ecb2732
commit 5d35fcd990

View File

@ -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))
{