aboutsummaryrefslogtreecommitdiffstats
path: root/include/feedutils.php
diff options
context:
space:
mode:
authorgit-marijus <mario@mariovavti.com>2017-06-09 12:57:05 +0200
committergit-marijus <mario@mariovavti.com>2017-06-09 12:57:05 +0200
commit8f2457855c89d0bac57694348608d9dad396dd36 (patch)
tree158c18f72c2ecfba3c71d0132e930a851685024d /include/feedutils.php
parent7e4c880e1ee993537de80f923445191bc53f3698 (diff)
parentf730e476f0d6db20eea29cd97e995f91a793d61c (diff)
downloadvolse-hubzilla-8f2457855c89d0bac57694348608d9dad396dd36.tar.gz
volse-hubzilla-8f2457855c89d0bac57694348608d9dad396dd36.tar.bz2
volse-hubzilla-8f2457855c89d0bac57694348608d9dad396dd36.zip
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into dev
Diffstat (limited to 'include/feedutils.php')
-rw-r--r--include/feedutils.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/feedutils.php b/include/feedutils.php
index 708532013..f1cee4194 100644
--- a/include/feedutils.php
+++ b/include/feedutils.php
@@ -1185,6 +1185,10 @@ function feed_meta($xml) {
}
}
+ if(! $author['author_photo'])
+ $author['author_photo'] = $feed->get_image_url();
+
+
if(substr($author['author_link'],-1,1) == '/')
$author['author_link'] = substr($author['author_link'],0,-1);