diff --git a/htdocs/core/modules/facture/mod_facture_terre.php b/htdocs/core/modules/facture/mod_facture_terre.php index 799dc1da2042dab7d98ab51c434b8636660a303c..60be7a1e311cd90af4121679f7b4770010e5997c 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");