]> git.mxchange.org Git - friendica.git/commitdiff
Fix shadow posts
authorMichael <heluecht@pirati.ca>
Mon, 25 Jun 2018 20:38:32 +0000 (20:38 +0000)
committerMichael <heluecht@pirati.ca>
Mon, 25 Jun 2018 20:38:32 +0000 (20:38 +0000)
src/Model/Item.php

index 3b46e7f15dcae9ed33818ad946fdfc9a41611859..4847a1171f715dd36699f2c2f2983c409bd5dfe6 100644 (file)
@@ -1705,7 +1705,7 @@ class Item extends BaseObject
         */
        public static function addShadowPost($itemid)
        {
-               $item = dba::selectFirst('item', [], ['id' => $itemid]);
+               $item = self::selectFirst(self::ITEM_FIELDLIST, ['id' => $itemid]);
                if (!DBM::is_result($item)) {
                        return;
                }