Changeset 114 for trunk/expressoMail1_2/inc/class.ldap_functions.inc.php
- Timestamp:
- 11/23/07 14:47:03 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoMail1_2/inc/class.ldap_functions.inc.php
r108 r114 49 49 if (($field != 'null') && ($ID != 'null')) 50 50 { 51 $filter="(&(|(phpgwAccountType=u)(phpgwAccountType=l))(|(cn=*$search_for*)( sn=*$search_for*)(mail=$search_for*)))";51 $filter="(&(|(phpgwAccountType=u)(phpgwAccountType=l))(|(cn=*$search_for*)(mail=$search_for*)))"; 52 52 $justthese = array("cn", "mail", "telephoneNumber", "mobile", "phpgwAccountVisible", "uid"); 53 53 } 54 54 else 55 55 { 56 $filter="(& (phpgwAccountType=u)(|(cn=*$search_for*)(sn=*$search_for*)(mail=$search_for*)))";56 $filter="(& (phpgwAccountType=u)(cn=*$search_for*) )"; 57 57 $justthese = array("cn", "mail", "telephoneNumber", "mobile", "phpgwAccountVisible", "jpegPhoto", "uid"); 58 58 }
Note: See TracChangeset
for help on using the changeset viewer.