Skip to content

Commit

Permalink
FIX #4434 Weird behaviour when enabling multiprices
Browse files Browse the repository at this point in the history
Close #4434
  • Loading branch information
marcosgdf committed Mar 2, 2016
1 parent 2d6c2d4 commit aa45734
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion htdocs/product/admin/product.php
Expand Up @@ -56,7 +56,9 @@
}

// Clean param
if (! empty($conf->global->PRODUIT_MULTIPRICES) && empty($conf->global->PRODUIT_MULTIPRICES_LIMIT)) $conf->global->PRODUIT_MULTIPRICES_LIMIT = 5;
if (! empty($conf->global->PRODUIT_MULTIPRICES) && empty($conf->global->PRODUIT_MULTIPRICES_LIMIT)) {
dolibarr_set_const($db, 'PRODUIT_MULTIPRICES_LIMIT', 5, 'chaine', 0, '', $conf->entity);
}



Expand Down

0 comments on commit aa45734

Please sign in to comment.