Skip to content

Commit 319cba8

Browse files
authored
Fix(Core): fix missing icon (#350)
1 parent 56f9ecd commit 319cba8

3 files changed

Lines changed: 4 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
1010
### Fixed
1111

1212
- Fix GLIP Stat injection
13+
- Fix missing icon
1314

1415
## [1.9.3] - 2026-01-08
1516

inc/common.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2191,6 +2191,6 @@ public static function getReportIcon($report_name)
21912191

21922192
public static function getIcon()
21932193
{
2194-
return 'fa fa-chart-pie';
2194+
return 'ti ti-chart-pie';
21952195
}
21962196
}

inc/profile.class.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,9 +101,9 @@ public function getTabNameForItem(CommonGLPI $item, $withtemplate = 0)
101101

102102
switch ($item->getType()) {
103103
case 'Profile':
104-
return self::getTypeName();
104+
return self::createTabEntry(self::getTypeName(), 0, self::class, PluginMreportingCommon::getIcon());
105105
case 'PluginMreportingConfig':
106-
return __s('Rights management', 'mreporting');
106+
return self::createTabEntry(__s('Rights management', 'mreporting'), 0, self::class, PluginMreportingCommon::getIcon());
107107
default:
108108
return '';
109109
}

0 commit comments

Comments
 (0)