mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-09 15:38:27 +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
|
* @return string|null
|
||||||
* @ToDo add a domain based image as fallback eg. as fallback from their website
|
* @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))
|
if (empty($address))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user