diff options
author | alecpl <alec@alec.pl> | 2011-09-12 15:57:08 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2011-09-12 15:57:08 +0000 |
commit | 6f45fa56ced44431806496ff70d5c8831cca3b37 (patch) | |
tree | ca78a1396515ff25c1d842e82fd65f6e87c4c089 /program/include | |
parent | 8703b0801865eb47505c960037d916253e315fc7 (diff) |
- Fix required_fields checking per discussion in #1488073
Diffstat (limited to 'program/include')
-rw-r--r-- | program/include/rcube_ldap.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/program/include/rcube_ldap.php b/program/include/rcube_ldap.php index 699691d87..373670ab0 100644 --- a/program/include/rcube_ldap.php +++ b/program/include/rcube_ldap.php @@ -685,8 +685,8 @@ class rcube_ldap extends rcube_addressbook } // end foreach // Verify that the required fields are set. + $missing = null; foreach ($this->prop['required_fields'] as $fld) { - $missing = null; if (!isset($newentry[$fld])) { $missing[] = $fld; } |