Fix: bad element name
This commit is contained in:
parent
409758c1ec
commit
4d5b28dbcd
@ -1391,7 +1391,7 @@ if ($_GET['action'] == 'create')
|
|||||||
else if (in_array($element,array('order','commande','propal','contrat','contract')))
|
else if (in_array($element,array('order','commande','propal','contrat','contract')))
|
||||||
{
|
{
|
||||||
// For compatibility
|
// For compatibility
|
||||||
if ($element == 'order') { $element = 'commande'; $subelement = 'customerorder'; }
|
if ($element == 'commande') { $subelement = 'customerorder'; }
|
||||||
if ($element == 'propal') { $element = 'comm/propal'; $subelement = 'proposal'; }
|
if ($element == 'propal') { $element = 'comm/propal'; $subelement = 'proposal'; }
|
||||||
if ($element == 'contract') { $element = 'contrat'; $subelement = 'contract'; }
|
if ($element == 'contract') { $element = 'contrat'; $subelement = 'contract'; }
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user