Skip to content
Snippets Groups Projects
Commit f7059d34 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Merge pull request #4712 from marcosgdf/bug-4434

FIX #4434 Weird behaviour when enabling multiprices
parents e50ab89b aa457346
No related branches found
No related tags found
No related merge requests found
......@@ -56,7 +56,9 @@ if ($conf->global->MAIN_FEATURES_LEVEL >= 2)
}
// 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);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment