]> git.mxchange.org Git - friendica.git/commitdiff
Fix missing avatar key in DFRN
authorHypolite Petovan <hypolite@mrpetovan.com>
Sun, 24 Feb 2019 18:40:04 +0000 (13:40 -0500)
committerHypolite Petovan <hypolite@mrpetovan.com>
Sun, 24 Feb 2019 18:40:04 +0000 (13:40 -0500)
- Addresses https://github.com/friendica/friendica/issues/6338#issuecomment-456839092

src/Protocol/DFRN.php

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