diff options
author | zotlabs <mike@macgirvin.com> | 2017-11-27 02:47:57 -0800 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2017-11-27 02:47:57 -0800 |
commit | dc53573975361075c62cd7f9721bac2e8eff8ea8 (patch) | |
tree | e9568c1fccc992a8a51507dc4cf8c53ec4c766bd | |
parent | 0e91810ed6764fbbee54e918711bfb45a1d9fd72 (diff) | |
download | volse-hubzilla-dc53573975361075c62cd7f9721bac2e8eff8ea8.tar.gz volse-hubzilla-dc53573975361075c62cd7f9721bac2e8eff8ea8.tar.bz2 volse-hubzilla-dc53573975361075c62cd7f9721bac2e8eff8ea8.zip |
unset item_wall and item_origin on pubstream to channel copy
-rwxr-xr-x | include/items.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/items.php b/include/items.php index baf11ac69..e4727e19e 100755 --- a/include/items.php +++ b/include/items.php @@ -4756,6 +4756,9 @@ function copy_of_pubitem($channel,$mid) { unset($rv['parent']); $rv['aid'] = $channel['channel_account_id']; $rv['uid'] = $channel['channel_id']; + $rv['item_wall'] = 0; + $rv['item_origin'] = 0; + $x = item_store($rv); if($x['item_id'] && $x['item']['mid'] === $mid) { $result = $x['item']; |