From 2368b29d77e14107a6dccac3a00a5bf10b59ab00 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sun, 29 Oct 2023 13:55:30 +0100 Subject: [PATCH] Fix trans --- htdocs/comm/action/class/actioncomm.class.php | 1 + 1 file changed, 1 insertion(+) diff --git a/htdocs/comm/action/class/actioncomm.class.php b/htdocs/comm/action/class/actioncomm.class.php index e7a4c02fe8f..19c3dca27e0 100644 --- a/htdocs/comm/action/class/actioncomm.class.php +++ b/htdocs/comm/action/class/actioncomm.class.php @@ -1594,6 +1594,7 @@ class ActionComm extends CommonObject // Set label of type $labeltype = ''; if ($this->type_code) { + $langs->load("commercial"); $labeltype = ($langs->transnoentities("Action".$this->type_code) != "Action".$this->type_code) ? $langs->transnoentities("Action".$this->type_code) : $this->type_label; } if (empty($conf->global->AGENDA_USE_EVENT_TYPE)) {