We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 918c3e7 commit a5d5679Copy full SHA for a5d5679
inc/profileright.class.php
@@ -51,7 +51,7 @@ public static function getTypeName($nb = 0)
51
public function getTabNameForItem(CommonGLPI $item, $withtemplate = 0)
52
{
53
if (Profile::class === $item->getType() && Session::haveRight('profile', READ)) {
54
- return self::createTabEntry(self::getTypeName());
+ return self::createTabEntry(self::getTypeName(), 0, $item::getType(), PluginMetabaseConfig::getIcon());
55
}
56
57
return '';
0 commit comments