From 66e9ea244d110f585c51969127b80be5d132d8fd Mon Sep 17 00:00:00 2001 From: Regis Houssin <regis@dolibarr.fr> Date: Fri, 20 Jan 2012 16:23:48 +0800 Subject: [PATCH] Fix: Trying to get property of non-object --- htdocs/core/modules/modSociete.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- GitLab