From 5d35fcd990f63b05d66ea2dd6cca2cdc7514b1c6 Mon Sep 17 00:00:00 2001 From: ralf Date: Wed, 10 May 2023 16:08:53 +0200 Subject: [PATCH] also allow calling Mail\Avatar::getAvatar() without an email --- api/src/Mail/Avatar.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/Mail/Avatar.php b/api/src/Mail/Avatar.php index 4c32101351..f319084d7d 100644 --- a/api/src/Mail/Avatar.php +++ b/api/src/Mail/Avatar.php @@ -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)) {