aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-09-08 16:06:15 -0700
committerfriendica <info@friendica.com>2014-09-08 16:06:15 -0700
commit715417c0e3ef51d0acf39a4a001656a07380eba4 (patch)
treea06eb929c499d49f043712151626736aeeeea0ea
parented847a91f6f8221bc13523574baf4ab7b3cf430a (diff)
downloadvolse-hubzilla-715417c0e3ef51d0acf39a4a001656a07380eba4.tar.gz
volse-hubzilla-715417c0e3ef51d0acf39a4a001656a07380eba4.tar.bz2
volse-hubzilla-715417c0e3ef51d0acf39a4a001656a07380eba4.zip
import_profile_photo array warnings
-rwxr-xr-xinclude/items.php4
-rw-r--r--version.inc2
2 files changed, 3 insertions, 3 deletions
diff --git a/include/items.php b/include/items.php
index 44d4abdf8..a0a19be1f 100755
--- a/include/items.php
+++ b/include/items.php
@@ -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",
diff --git a/version.inc b/version.inc
index 45852255c..d04d03ce9 100644
--- a/version.inc
+++ b/version.inc
@@ -1 +1 @@
-2014-09-07.791
+2014-09-08.792