diff --git a/htdocs/core/modules/modSociete.class.php b/htdocs/core/modules/modSociete.class.php index 47740b102e5..be73010da15 100644 --- a/htdocs/core/modules/modSociete.class.php +++ b/htdocs/core/modules/modSociete.class.php @@ -44,7 +44,7 @@ class modSociete extends DolibarrModules */ function modSociete($db) { - global $conf; + global $conf, $user; $this->db = $db; $this->numero = 1;