Fix shadow posts

This commit is contained in:
Michael 2018-06-25 20:38:32 +00:00
parent 6b568bb8fa
commit 7aa880543f
1 changed files with 1 additions and 1 deletions

View 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;
}