Fix missing avatar key in DFRN

- Addresses https://github.com/friendica/friendica/issues/6338#issuecomment-456839092
This commit is contained in:
Hypolite Petovan 2019-02-24 13:40:04 -05:00
parent 42c06506ce
commit 0888850702

View file

@ -1596,6 +1596,7 @@ class DFRN
if (empty($author['avatar'])) { if (empty($author['avatar'])) {
Logger::log('Empty author: ' . $xml); Logger::log('Empty author: ' . $xml);
$author['avatar'] = '';
} }
if (DBA::isResult($contact_old) && !$onlyfetch) { if (DBA::isResult($contact_old) && !$onlyfetch) {