diff --git a/src/PackageTarget.php b/src/PackageTarget.php index 2ff49cd..746e68f 100644 --- a/src/PackageTarget.php +++ b/src/PackageTarget.php @@ -70,7 +70,7 @@ public function getTabNameForItem(CommonGLPI $item, $withtemplate = 0) switch ($item->getType()) { case Package::class: - return self::createTabEntry(self::getTypeName($number), $number, self::class, self::getIcon()); + return self::createTabEntry(self::getTypeName($number), $number); } return parent::getTabNameForItem($item, $withtemplate);