2
0
forked from Wavyzz/dolibarr

Fix: By default workflow is empty

This commit is contained in:
Laurent Destailleur
2011-02-23 12:34:42 +00:00
parent 6e2cf93f08
commit 31ce38e12c

View File

@@ -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)