Changeset b4fa591 in github


Ignore:
Timestamp:
Aug 29, 2009 2:48:54 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:
0e2b643
Parents:
e83f035
Message:
  • Fix saving empty values in LDAP contact data (#1485781)
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • CHANGELOG

    re83f035 rb4fa591  
    22=========================== 
    33 
     4- Fix saving empty values in LDAP contact data (#1485781) 
    45- Fix LDAP contact update when RDN field is changed (#1485788) 
    56- Fix LDAP attributes case senitivity problems (#1485830) 
  • program/include/rcube_ldap.php

    re83f035 rb4fa591  
    414414    foreach ($save_cols as $col => $val) { 
    415415      $fld = $this->_map_field($col); 
    416       if ($fld != '') { 
     416      if ($fld && $val) { 
    417417        // The field does exist, add it to the entry. 
    418418        $newentry[$fld] = $val; 
     
    458458    foreach ($save_cols as $col => $val) { 
    459459      $fld = $this->_map_field($col); 
    460       if ($fld != '') { 
     460      if ($fld) { 
    461461        // The field does exist compare it to the ldap record. 
    462462        if ($record[$col] != $val) { 
Note: See TracChangeset for help on using the changeset viewer.