From 71cd774d043aa995cc31849cf1863a7e7d956711 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Rapha=C3=ABl=20Doursenaud?= <rdoursenaud@gpcsolutions.fr>
Date: Wed, 23 Apr 2014 17:16:22 +0200
Subject: [PATCH] Qual: Missing global declaration

---
 htdocs/core/modules/facture/mod_facture_mars.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/htdocs/core/modules/facture/mod_facture_mars.php b/htdocs/core/modules/facture/mod_facture_mars.php
index 852d499e66e..21dc49c32f3 100644
--- a/htdocs/core/modules/facture/mod_facture_mars.php
+++ b/htdocs/core/modules/facture/mod_facture_mars.php
@@ -67,7 +67,7 @@ class mod_facture_mars extends ModeleNumRefFactures
 	 */
 	function canBeActivated()
 	{
-		global $langs,$conf;
+		global $langs,$conf,$db;
 
 		$langs->load("bills");
 
-- 
GitLab