Function needed to be public, not private

This commit is contained in:
Michael 2018-01-28 14:06:02 +00:00
parent bd9cb4595d
commit e080ea03c0

View file

@ -896,7 +896,7 @@ class Item
* *
* @param integer $itemid Item ID that should be added * @param integer $itemid Item ID that should be added
*/ */
private static function addShadowPost($itemid) public static function addShadowPost($itemid)
{ {
$item = dba::selectFirst('item', [], ['id' => $itemid]); $item = dba::selectFirst('item', [], ['id' => $itemid]);
if (!DBM::is_result($item)) { if (!DBM::is_result($item)) {