aboutsummaryrefslogtreecommitdiffstats
path: root/include/items.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-11-27 02:47:57 -0800
committerzotlabs <mike@macgirvin.com>2017-11-27 02:47:57 -0800
commitdc53573975361075c62cd7f9721bac2e8eff8ea8 (patch)
treee9568c1fccc992a8a51507dc4cf8c53ec4c766bd /include/items.php
parent0e91810ed6764fbbee54e918711bfb45a1d9fd72 (diff)
downloadvolse-hubzilla-dc53573975361075c62cd7f9721bac2e8eff8ea8.tar.gz
volse-hubzilla-dc53573975361075c62cd7f9721bac2e8eff8ea8.tar.bz2
volse-hubzilla-dc53573975361075c62cd7f9721bac2e8eff8ea8.zip
unset item_wall and item_origin on pubstream to channel copy
Diffstat (limited to 'include/items.php')
-rwxr-xr-xinclude/items.php3
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'];