From 7b1b206f70e9f988eb6d3a309589742db7338516 Mon Sep 17 00:00:00 2001 From: Lainow Date: Tue, 25 Jun 2024 11:13:07 +0200 Subject: [PATCH] Fix cluster items count --- src/Item_Cluster.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Item_Cluster.php b/src/Item_Cluster.php index 19a4fdb795c..3fc81e143b1 100644 --- a/src/Item_Cluster.php +++ b/src/Item_Cluster.php @@ -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)