Fix test on entity for project
This commit is contained in:
parent
0ed6a63fb0
commit
36c1c6be6a
1 changed files with 3 additions and 0 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in a new issue