From b30669a5d69bd2745686731e200dfe7584f5f22f Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Thu, 5 Apr 2012 11:07:16 +0200 Subject: [PATCH] Fix: missing $langs --- htdocs/core/modules/modSociete.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/core/modules/modSociete.class.php b/htdocs/core/modules/modSociete.class.php index 32aeb19fae3..77be89de795 100644 --- a/htdocs/core/modules/modSociete.class.php +++ b/htdocs/core/modules/modSociete.class.php @@ -3,7 +3,7 @@ * Copyright (C) 2004-2011 Laurent Destailleur * Copyright (C) 2004 Sebastien Di Cintio * Copyright (C) 2004 Benoit Mortier - * Copyright (C) 2005-2011 Regis Houssin + * Copyright (C) 2005-2012 Regis Houssin * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -327,7 +327,7 @@ class modSociete extends DolibarrModules */ function init($options='') { - global $conf; + global $conf, $langs; // We disable this to prevent pb of modules not correctly disabled //$this->remove($options);