From e080ea03c04373cbd5a5719a418054abcf81c62c Mon Sep 17 00:00:00 2001 From: Michael Date: Sun, 28 Jan 2018 14:06:02 +0000 Subject: [PATCH] Function needed to be public, not private --- src/Model/Item.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Model/Item.php b/src/Model/Item.php index ebfca3108..18606e169 100644 --- a/src/Model/Item.php +++ b/src/Model/Item.php @@ -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)) {