Changeset 38dc510 in github


Ignore:
Timestamp:
Feb 29, 2012 6:53:52 AM (15 months ago)
Author:
alecpl <alec@…>
Branches:
master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.8
Children:
737fbe3b
Parents:
7a32e9c
Message:
  • Fix warning when properties array is empty
File:
1 edited

Legend:

Unmodified
Added
Removed
  • program/include/rcube_ldap.php

    r3ed9e80 r38dc510  
    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.