- Timestamp:
- 10/22/10 17:02:15 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2/jabberit_messenger/jmessenger/inc/class.ContactsIm.inc.php
r3266 r3406 119 119 $members = array(); 120 120 $result = array(); 121 $uidType = "uid";121 $uidType = $this->attribute; 122 122 $serversLdap = unserialize( trim($_SESSION['phpgw_info']['jabberit_messenger']['groups_search']) ); 123 123 … … 125 125 { 126 126 // Usa Grupos Ldap 127 128 127 $filters = array( ); 129 128 … … 167 166 else 168 167 { 168 // Ldap Root 169 169 $result[] = $this->ldap->getUsersLdapRoot("cn=*".$pName."*"); 170 170 171 foreach( $result as $key => $value ) 171 // Ldap Catalog 172 if( count($this->hostsJabberLdap) ) 173 { 174 foreach( $this->hostsJabberLdap as $conf ) 175 { 176 $result[] = $this->ldap->getUsersLdapCatalog("cn=*".$pName."*", $conf['serverLdap'] ); 177 } 178 } 179 180 foreach( $result as $value ) 172 181 { 173 $array_uids = array_merge($array_uids, $ result[$key]);182 $array_uids = array_merge($array_uids, $value ); 174 183 } 175 184 176 185 if( count($array_uids) > $this->ldap->getMaxResults() ) 177 186 {
Note: See TracChangeset
for help on using the changeset viewer.