Fix: missing $langs

This commit is contained in:
Regis Houssin 2012-04-05 11:07:16 +02:00
parent 03cfec7904
commit b30669a5d6

View File

@ -3,7 +3,7 @@
* Copyright (C) 2004-2011 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2004 Sebastien Di Cintio <sdicintio@ressource-toi.org>
* Copyright (C) 2004 Benoit Mortier <benoit.mortier@opensides.be>
* Copyright (C) 2005-2011 Regis Houssin <regis@dolibarr.fr>
* Copyright (C) 2005-2012 Regis Houssin <regis@dolibarr.fr>
*
* 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);