This commit is contained in:
Laurent Destailleur 2017-09-12 18:37:54 +02:00
parent 71ce82b6b9
commit 725600e000

View File

@ -926,7 +926,7 @@ if ($source == 'contractline')
{
$amount=$contractline->total_ttc;
if ($contractline->fk_product && ! empty($conf->global-PAYMENT_USE_NEW_PRICE_FOR_CONTRACTLINES))
if ($contractline->fk_product && ! empty($conf->global->PAYMENT_USE_NEW_PRICE_FOR_CONTRACTLINES))
{
$product=new Product($db);
$result=$product->fetch($contractline->fk_product);