alecpl
2009-09-07 b48d9bf5d412a6f56f3f9ba4bad141ddfe175727
program/include/rcube_ldap.php
@@ -57,6 +57,10 @@
      if (preg_match('/^(.+)_field$/', $prop, $matches))
        $this->fieldmap[$matches[1]] = $this->_attr_name(strtolower($value));
    // make sure 'required_fields' is an array
    if (!is_array($this->prop['required_fields']))
      $this->prop['required_fields'] = (array) $this->prop['required_fields'];
    foreach ($this->prop['required_fields'] as $key => $val)
      $this->prop['required_fields'][$key] = $this->_attr_name(strtolower($val));
@@ -546,7 +550,7 @@
      } // end if
    } // end foreach
    return true;
    return count($dns);
  }