Fix: By default workflow is empty

This commit is contained in:
Laurent Destailleur 2011-02-23 12:35:36 +00:00
parent 03c82f3dee
commit 598e87ab62

View File

@ -115,7 +115,7 @@ class InterfacePropalWorkflow
{ {
$error=0; $error=0;
if ($conf->commande->enabled) if (! empty($conf->commande->enabled) && ! empty($conf->PROPALE_AUTOCREATE_ORDER))
{ {
// Signed proposal // Signed proposal
if ($object->statut == 2) if ($object->statut == 2)