From 31ce38e12cd39c66e037aa50fe006853bcd55fd6 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 23 Feb 2011 12:34:42 +0000 Subject: [PATCH] Fix: By default workflow is empty --- .../triggers/interface_modPropale_PropalWorkflow.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)