Function needed to be public, not private

2022.09-rc
Michael 2018-01-28 14:06:02 +00:00
rodzic bd9cb4595d
commit e080ea03c0
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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)) {