Changeset 7104732 in github
- Timestamp:
- Sep 10, 2009 1:16:26 PM (4 years ago)
- Branches:
- master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
- Children:
- 4aaecb6
- Parents:
- b85fce1
- Files:
-
- 2 edited
-
CHANGELOG (modified) (1 diff)
-
program/include/rcube_ldap.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
CHANGELOG
r11ea2ac r7104732 2 2 =========================== 3 3 4 - Fix LDAP partial result warning (#1485536) 4 5 - Fix delete in message view deletes permanently with flag_for_deletion=true (#1486101) 5 6 - Use faster/secure mt_rand() (#1486094) -
program/include/rcube_ldap.php
r38066281 r7104732 389 389 if ($this->conn && $dn) 390 390 { 391 $this->ldap_result = ldap_read($this->conn, base64_decode($dn), '(objectclass=*)', array_values($this->fieldmap));391 $this->ldap_result = @ldap_read($this->conn, base64_decode($dn), '(objectclass=*)', array_values($this->fieldmap)); 392 392 $entry = @ldap_first_entry($this->conn, $this->ldap_result); 393 393 … … 566 566 $filter = $this->filter ? $this->filter : '(objectclass=*)'; 567 567 $function = $this->prop['scope'] == 'sub' ? 'ldap_search' : ($this->prop['scope'] == 'base' ? 'ldap_read' : 'ldap_list'); 568 $this->ldap_result = $function($this->conn, $this->prop['base_dn'], $filter, array_values($this->fieldmap), 0, 0);568 $this->ldap_result = @$function($this->conn, $this->prop['base_dn'], $filter, array_values($this->fieldmap), 0, 0); 569 569 return true; 570 570 }
Note: See TracChangeset
for help on using the changeset viewer.
