From 5718afc2fc6e1e38c5a6a74b926611c408b66012 Mon Sep 17 00:00:00 2001 From: LAUNAY Samuel <107540223+Lainow@users.noreply.github.com> Date: Thu, 17 Oct 2024 12:12:20 +0200 Subject: [PATCH] Update field.class.php --- inc/field.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/field.class.php b/inc/field.class.php index 45623071..8e32845d 100644 --- a/inc/field.class.php +++ b/inc/field.class.php @@ -512,7 +512,7 @@ public function getTabNameForItem(CommonGLPI $item, $withtemplate = 0) if (!$withtemplate) { switch ($item->getType()) { case __CLASS__: - $ong[1] = "Test"; + $ong[1] = $this->getTypeName(1); return $ong; }