diff --git a/htdocs/includes/modules/commande/mod_commande_emeraude.php b/htdocs/includes/modules/commande/mod_commande_emeraude.php index 3d48bc5f298..7921555b84e 100644 --- a/htdocs/includes/modules/commande/mod_commande_emeraude.php +++ b/htdocs/includes/modules/commande/mod_commande_emeraude.php @@ -85,7 +85,7 @@ class mod_commande_emeraude extends ModeleNumRefCommandes */ function getNextValue() { - global $db; + global $db,$conf; // D'abord on récupère la valeur max (réponse immédiate car champ indéxé) $cyy='';