diff --git a/htdocs/core/modules/facture/mod_facture_terre.php b/htdocs/core/modules/facture/mod_facture_terre.php index 799dc1da204..60be7a1e311 100644 --- a/htdocs/core/modules/facture/mod_facture_terre.php +++ b/htdocs/core/modules/facture/mod_facture_terre.php @@ -65,7 +65,7 @@ class mod_facture_terre extends ModeleNumRefFactures */ function canBeActivated() { - global $langs,$conf; + global $langs,$conf,$db; $langs->load("bills");