summaryrefslogtreecommitdiff
path: root/roundcubemail/program/include/rcube_ldap.php
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-09-12 15:57:08 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-09-12 15:57:08 +0000
commitb08b21c866f7f8b1a23e63d8ca1e8864cbdd53ec (patch)
tree4211bb00fa55d36506e20ab04a09753500ed7842 /roundcubemail/program/include/rcube_ldap.php
parentecd132223e783186f82e98684966f69fcb0c9e64 (diff)
- Fix required_fields checking per discussion in #1488073
git-svn-id: https://svn.roundcube.net/trunk@5208 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/include/rcube_ldap.php')
-rw-r--r--roundcubemail/program/include/rcube_ldap.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/roundcubemail/program/include/rcube_ldap.php b/roundcubemail/program/include/rcube_ldap.php
index 699691d87..373670ab0 100644
--- a/roundcubemail/program/include/rcube_ldap.php
+++ b/roundcubemail/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;
}