Add data for shared posts from the original
This commit is contained in:
parent
4403aeeda5
commit
22c66e1811
3 changed files with 71 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue