aboutsummaryrefslogtreecommitdiffstats
path: root/include/items.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-06-20 18:34:17 -0700
committerzotlabs <mike@macgirvin.com>2017-06-20 18:34:17 -0700
commit08c0729f5ff8ac97c27db08ae2dde1a052c71e25 (patch)
tree9ce2ee515601a79156e89e5158fc3b8047f6e90a /include/items.php
parent234c64574b4ee5ca22b85ae2fecc301286423068 (diff)
parent76e98091690cf5f2726bf7cefea217d49b23a5b4 (diff)
downloadvolse-hubzilla-08c0729f5ff8ac97c27db08ae2dde1a052c71e25.tar.gz
volse-hubzilla-08c0729f5ff8ac97c27db08ae2dde1a052c71e25.tar.bz2
volse-hubzilla-08c0729f5ff8ac97c27db08ae2dde1a052c71e25.zip
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into dev_merge
Diffstat (limited to 'include/items.php')
-rwxr-xr-xinclude/items.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/items.php b/include/items.php
index fa61d71de..4a028be6e 100755
--- a/include/items.php
+++ b/include/items.php
@@ -938,7 +938,7 @@ function import_author_unknown($x) {
$photos = import_xchan_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 = 'unknown'",
+ $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_hash = '%s' and xchan_network = 'unknown'",
dbesc(datetime_convert()),
dbesc($photos[0]),
dbesc($photos[1]),