diff --git a/htdocs/includes/triggers/interface_modPropale_PropalWorkflow.class.php b/htdocs/includes/triggers/interface_modPropale_PropalWorkflow.class.php index b522801e1c0..ab53272e626 100644 --- a/htdocs/includes/triggers/interface_modPropale_PropalWorkflow.class.php +++ b/htdocs/includes/triggers/interface_modPropale_PropalWorkflow.class.php @@ -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)