Fix test on entity for project

This commit is contained in:
Laurent Destailleur
2023-09-05 16:33:37 +02:00
parent 0ed6a63fb0
commit 36c1c6be6a

View File

@@ -274,6 +274,9 @@ function getEntity($element, $shared = 1, $currentobject = null)
// fix different element names (France to English)
switch ($element) {
case 'projet':
$element = 'project';
break;
case 'contrat':
$element = 'contract';
break; // "/contrat/class/contrat.class.php"