Issue Bug Closed

#100020DefaultAvatarProvider fails to handle missing images

Markus Klein 02/23/23, 16:45 updated 03/14/23, 11:47

Description

> PHP Runtime Deprecation Notice: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/vendor/typo3/cms-backend/Classes/Backend/Avatar/Avatar.php line 106

The avatar image is marked missing in FAL, hence the `DefaultAvatarProvider` creates an `Image`-object with a `null` value as `url`.

Reviews 2