Open fritzmg opened 9 years ago
is in Master and develop fixed
Well, you are just checking for
$GLOBALS['TL_CONFIG']['avatar_fallback_image'] != ''
But if the file gets deleted, it will again lead to an error. Actually you would neet both the null
check and a file_exists
check.
Since the fallback image is optional, the following code causes problems:
in AvatarFileUpload.php#L181. When no fallback image is set, there will be an error whenever the widget is generated for a user, that does not have an avatar image set. It should instead say