Changeset 6057 for trunk/phpgwapi/inc/class.contacts_ldap.inc.php
- Timestamp:
- 04/27/12 09:17:30 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/phpgwapi/inc/class.contacts_ldap.inc.php
r2 r6057 324 324 { 325 325 if($DEBUG) { echo 'DEBUG - Inbound filter is: #'.$filter.'#'; } 326 $filterarray = split(',',$filter);326 $filterarray = preg_split('/,/',$filter); 327 327 if($filterarray[1]) 328 328 { … … 340 340 else 341 341 { 342 list($name,$value) = split('=',$filter);342 list($name,$value) = preg_split('/=/',$filter); 343 343 if($DEBUG) 344 344 { … … 547 547 elseif($extra) 548 548 { 549 $tmp = split('=',$extra);549 $tmp = preg_split('/=/',$extra); 550 550 $qarray[] = array($tmp[0] => $tmp[1]); 551 551 } … … 863 863 864 864 /* Verify uid */ 865 $uids = split(',',$dn);865 $uids = preg_split('/,/',$dn); 866 866 $stock_fields['lid'] = $uids[0]; 867 867 if(empty($ldap_fields[0]['uid']))
Note: See TracChangeset
for help on using the changeset viewer.