import_profile_photo array warnings
This commit is contained in:
parent
ed847a91f6
commit
715417c0e3
@ -918,9 +918,9 @@ function import_author_rss($x) {
|
||||
dbesc(($name) ? $name : t('(Unknown)')),
|
||||
dbesc('rss')
|
||||
);
|
||||
if($r) {
|
||||
if($r && $x['photo']) {
|
||||
|
||||
$photos = import_profile_photo($x['photo'],$x['url']);
|
||||
$photos = import_profile_photo($x['photo']['src'],$x['url']);
|
||||
|
||||
if($photos) {
|
||||
$r = q("update xchan set xchan_photo_date = '%s', xchan_photo_l = '%s', xchan_photo_m = '%s', xchan_photo_s = '%s', xchan_photo_mimetype = '%s' where xchan_url = '%s' and xchan_network = 'rss' limit 1",
|
||||
|
@ -1 +1 @@
|
||||
2014-09-07.791
|
||||
2014-09-08.792
|
||||
|
Reference in New Issue
Block a user