Skip to content

Commit

Permalink
Fix: Restore ability to create order on proposal close
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Mar 1, 2011
1 parent 8348de5 commit eee0d1a
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -115,7 +115,7 @@ function _createOrderFromPropal($action,$object,$user,$langs,$conf)
{
$error=0;

if (! empty($conf->commande->enabled) && ! empty($conf->PROPALE_AUTOCREATE_ORDER))
if (! empty($conf->commande->enabled) && ! empty($conf->WORKFLOW_PROPAL_AUTOCREATE_ORDER))
{
// Signed proposal
if ($object->statut == 2)
Expand Down Expand Up @@ -177,7 +177,7 @@ function _createOrderFromPropal($action,$object,$user,$langs,$conf)
if ($result < 0) $error++;
}
}

if (! $error)
{
// Ne pas passer par la commande provisoire
Expand Down

0 comments on commit eee0d1a

Please sign in to comment.