From: Michael Date: Mon, 25 Jun 2018 20:38:32 +0000 (+0000) Subject: Fix shadow posts X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=7aa880543f0731db383109ff735a7831f7ad4e16;p=friendica.git Fix shadow posts --- diff --git a/src/Model/Item.php b/src/Model/Item.php index 3b46e7f15d..4847a1171f 100644 --- a/src/Model/Item.php +++ b/src/Model/Item.php @@ -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; }