Changeset 7104732 in github


Ignore:
Timestamp:
Sep 10, 2009 1:16:26 PM (4 years ago)
Author:
alecpl <alec@…>
Branches:
master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
Children:
4aaecb6
Parents:
b85fce1
Message:
  • Fix LDAP partial result warning (#1485536)
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • CHANGELOG

    r11ea2ac r7104732  
    22=========================== 
    33 
     4- Fix LDAP partial result warning (#1485536) 
    45- Fix delete in message view deletes permanently with flag_for_deletion=true (#1486101) 
    56- Use faster/secure mt_rand() (#1486094) 
  • program/include/rcube_ldap.php

    r38066281 r7104732  
    389389    if ($this->conn && $dn) 
    390390    { 
    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)); 
    392392      $entry = @ldap_first_entry($this->conn, $this->ldap_result); 
    393393 
     
    566566      $filter = $this->filter ? $this->filter : '(objectclass=*)'; 
    567567      $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); 
    569569      return true; 
    570570    } 
Note: See TracChangeset for help on using the changeset viewer.