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
|
@ -481,7 +481,7 @@ function dfrn_confirm_post(App $a, $handsfree = null)
|
|||
if (DBA::isResult($contact)) {
|
||||
$photo = $contact['photo'];
|
||||
} else {
|
||||
$photo = DI::baseUrl() . '/images/person-300.jpg';
|
||||
$photo = DI::baseUrl() . Contact::DEFAULT_AVATAR_PHOTO;
|
||||
}
|
||||
|
||||
Contact::updateAvatar($dfrn_record, $photo);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue