Changeset 5318 for trunk/services
- Timestamp:
- 01/06/12 10:56:52 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/services/class.ldap.php
r5130 r5318 349 349 $returnL = ldap_get_entries( $this->connection,$sr); 350 350 $return = array(); 351 foreach ($returnL[0]['mailalternateaddress'] as $i => $v) 352 { 353 if($i === 'count') continue; 354 $return[] = $v; 355 } 351 if(is_array($returnL[0]['mailalternateaddress'])) 352 foreach ($returnL[0]['mailalternateaddress'] as $i => $v) 353 { 354 if($i === 'count') continue; 355 $return[] = $v; 356 } 356 357 return $return; 357 358 }
Note: See TracChangeset
for help on using the changeset viewer.