From be4d017f4c595a63ddadb08bf0ee690dbe9c50a2 Mon Sep 17 00:00:00 2001 From: Romain Quetiez Date: Tue, 5 Jun 2012 15:38:39 +0000 Subject: [PATCH] #556 Continuation (suppressed a warning) SVN:1.2.1[2082] --- addons/userrights/userrightsprofile.class.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/userrights/userrightsprofile.class.inc.php b/addons/userrights/userrightsprofile.class.inc.php index 864bf4b9d..9844f6704 100644 --- a/addons/userrights/userrightsprofile.class.inc.php +++ b/addons/userrights/userrightsprofile.class.inc.php @@ -663,8 +663,8 @@ class UserRightsProfile extends UserRightsAddOnAPI $this->m_aUserProfiles = array(); $this->m_aUserOrgs = array(); - $this->m_aAdmins = null; - $this->m_aPortalUsers = null; + $this->m_aAdmins = array(); + $this->m_aPortalUsers = array(); // Loaded on demand (time consuming as compared to the others) $this->m_aClassActionGrants = null;