From 5e252bcb04452bf8b7d340b856d90427192599bc Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 28 Apr 2012 17:59:08 +0200 Subject: [PATCH] Fix: Removed warning --- htdocs/user/class/user.class.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/htdocs/user/class/user.class.php b/htdocs/user/class/user.class.php index b7c34af0fe0..d03e06a83f3 100644 --- a/htdocs/user/class/user.class.php +++ b/htdocs/user/class/user.class.php @@ -89,7 +89,7 @@ class User extends CommonObject private $_tab_loaded=array(); // Array of cache of already loaded permissions var $conf; // To store personal config - var $oldcopy; // To contains a clone of this when we need to save old properties of object + var $oldcopy; // To contains a clone of this when we need to save old properties of object @@ -109,6 +109,7 @@ class User extends CommonObject $this->all_permissions_are_loaded = 0; $this->admin=0; + $this->conf = (object) array(); $this->rights = (object) array(); $this->rights->user = (object) array(); $this->rights->user->user = (object) array(); @@ -588,7 +589,7 @@ class User extends CommonObject } $this->db->free($resql); } - + // For backward compatibility if (isset($this->rights->propale)) {