diff options
author | friendica <info@friendica.com> | 2013-02-28 18:59:03 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-02-28 18:59:03 -0800 |
commit | a7efec2b512c7915e4d29963836a04ad76a68d57 (patch) | |
tree | 363ddbf966b12944b5d72394d50a0439fe30dde6 /include | |
parent | a2a2ae2dd20ecb6e9631b804f9d3bb16e2054c3d (diff) | |
download | volse-hubzilla-a7efec2b512c7915e4d29963836a04ad76a68d57.tar.gz volse-hubzilla-a7efec2b512c7915e4d29963836a04ad76a68d57.tar.bz2 volse-hubzilla-a7efec2b512c7915e4d29963836a04ad76a68d57.zip |
edits might really work now
Diffstat (limited to 'include')
-rw-r--r-- | include/zot.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/zot.php b/include/zot.php index 6951130bc..7be46434a 100644 --- a/include/zot.php +++ b/include/zot.php @@ -923,6 +923,7 @@ function process_delivery($sender,$arr,$deliveries,$relay) { if($r) { if($arr['edited'] > $r[0]['edited']) { $arr['id'] = $r[0]['id']; + $arr['uid'] = $channel['channel_id']; update_imported_item($sender,$arr,$channel['channel_id']); } $result[] = array($d['hash'],'updated'); @@ -953,7 +954,7 @@ function process_delivery($sender,$arr,$deliveries,$relay) { function update_imported_item($sender,$item,$uid) { - item_store_update($arr); + item_store_update($item); logger('update_imported_item'); } |