mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-11 17:44:27 +02:00
Using a constant value for the default avatar
This commit is contained in:
parent
76bcf27130
commit
d9fc0ae0ea
8 changed files with 28 additions and 21 deletions
|
@ -492,9 +492,9 @@ class Photo
|
|||
}
|
||||
|
||||
if ($photo_failure) {
|
||||
$image_url = DI::baseUrl() . "/images/person-300.jpg";
|
||||
$thumb = DI::baseUrl() . "/images/person-80.jpg";
|
||||
$micro = DI::baseUrl() . "/images/person-48.jpg";
|
||||
$image_url = DI::baseUrl() . Contact::DEFAULT_AVATAR_PHOTO;
|
||||
$thumb = DI::baseUrl() . Contact::DEFAULT_AVATAR_THUMB;
|
||||
$micro = DI::baseUrl() . Contact::DEFAULT_AVATAR_MICRO;
|
||||
}
|
||||
|
||||
return [$image_url, $thumb, $micro];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue