Changeset 5930 in subversion


Ignore:
Timestamp:
Feb 29, 2012 6:53:52 AM (15 months ago)
Author:
alec
Message:
  • Fix warning when properties array is empty
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/roundcubemail/program/include/rcube_ldap.php

    r5878 r5930  
    6464    * Object constructor 
    6565    * 
    66     * @param array      LDAP connection properties 
     66    * @param array          LDAP connection properties 
    6767    * @param boolean    Enables debug mode 
    6868    * @param string     Current user mail domain name 
     
    9696                $this->fieldmap[$rf] = $this->_attr_name(strtolower($lf)); 
    9797        } 
    98         else { 
     98        else if (!empty($p)) { 
    9999            // read deprecated *_field properties to remain backwards compatible 
    100100            foreach ($p as $prop => $value) 
Note: See TracChangeset for help on using the changeset viewer.