Fix: By default workflow is empty
This commit is contained in:
parent
6e2cf93f08
commit
31ce38e12c
@ -115,7 +115,7 @@ class InterfacePropalWorkflow
|
||||
{
|
||||
$error=0;
|
||||
|
||||
if ($conf->commande->enabled)
|
||||
if (! empty($conf->commande->enabled) && ! empty($conf->PROPALE_AUTOCREATE_ORDER))
|
||||
{
|
||||
// Signed proposal
|
||||
if ($object->statut == 2)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user