]> git.mxchange.org Git - friendica.git/blobdiff - mod/item.php
Add data for shared posts from the original
[friendica.git] / mod / item.php
index a96d28819365c1c02426d3febd65097fe078b194..999e7a25c67e58e00bdcf8c2be3bdaf741d62cd2 100644 (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) {