Fix shadow posts
This commit is contained in:
parent
6b568bb8fa
commit
7aa880543f
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user