Add data for shared posts from the original

This commit is contained in:
Michael 2019-12-04 22:57:09 +00:00
commit 22c66e1811
3 changed files with 71 additions and 1 deletions

View file

@ -730,6 +730,9 @@ function item_post(App $a) {
}
}
// If this was a share, add missing data here
$datarray = Item::addShareDataFromOriginal($datarray);
$post_id = Item::insert($datarray);
if (!$post_id) {