Fix shadow posts
This commit is contained in:
parent
6b568bb8fa
commit
7aa880543f
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue