Skip to content

Commit

Permalink
Fix cluster items count
Browse files Browse the repository at this point in the history
  • Loading branch information
Lainow authored and trasher committed Jun 25, 2024
1 parent d8dafd6 commit 7b1b206
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Item_Cluster.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public function getTabNameForItem(CommonGLPI $item, $withtemplate = 0)
if ($_SESSION['glpishow_count_on_tabs']) {
$nb = self::countForMainItem($item);
}
return self::createTabEntry(_n('Item', 'Items', $nb));
return self::createTabEntry(_n('Item', 'Items', $nb), $nb);
}

public static function displayTabContentForItem(CommonGLPI $item, $tabnum = 1, $withtemplate = 0)
Expand Down

0 comments on commit 7b1b206

Please sign in to comment.