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