Fix: bad element name
This commit is contained in:
parent
2498426867
commit
1fbcba01de
1 changed files with 1 additions and 1 deletions
|
|
@ -1387,7 +1387,7 @@ if ($_GET['action'] == 'create')
|
|||
else if (in_array($element,array('order','commande','propal','contrat','contract')))
|
||||
{
|
||||
// For compatibility
|
||||
if ($element == 'order') { $element = $subelement = 'commande'; }
|
||||
if ($element == 'order' || $element == 'commande') { $element = $subelement = 'commande'; }
|
||||
if ($element == 'propal') { $element = 'comm/propal'; $subelement = 'propal'; }
|
||||
if ($element == 'contract') { $element = $subelement = 'contrat'; }
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue