Fix var init

This commit is contained in:
Laurent Destailleur 2017-07-13 23:52:02 +02:00
parent 312b153005
commit f106ff7e76
2 changed files with 20 additions and 17 deletions

View File

@ -410,7 +410,9 @@ class Contact extends CommonObject
{ {
global $conf,$langs; global $conf,$langs;
// Object classes $info = array();
// Object classes
$info["objectclass"]=explode(',',$conf->global->LDAP_CONTACT_OBJECT_CLASS); $info["objectclass"]=explode(',',$conf->global->LDAP_CONTACT_OBJECT_CLASS);
$this->fullname=$this->getFullName($langs); $this->fullname=$this->getFullName($langs);

View File

@ -806,6 +806,7 @@ class UserGroup extends CommonObject
function _load_ldap_info() function _load_ldap_info()
{ {
global $conf,$langs; global $conf,$langs;
$info=array(); $info=array();
// Object classes // Object classes