Function needed to be public, not private
This commit is contained in:
parent
bd9cb4595d
commit
e080ea03c0
1 changed files with 1 additions and 1 deletions
|
@ -896,7 +896,7 @@ class Item
|
|||
*
|
||||
* @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]);
|
||||
if (!DBM::is_result($item)) {
|
||||
|
|
Loading…
Reference in a new issue