2
0
forked from Wavyzz/dolibarr

Fix trans

This commit is contained in:
Laurent Destailleur
2023-10-29 13:55:30 +01:00
parent 9591f7bff2
commit 2368b29d77

View File

@@ -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)) {