From f593222ef5d5dc3b678618593abb873f4fcd4343 Mon Sep 17 00:00:00 2001
From: alecpl <alec@alec.pl>
Date: Tue, 13 Sep 2011 04:09:50 -0400
Subject: [PATCH] - Applied fixes from trunk up to r5212

---
 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 699691d..373670a 100644
--- a/program/include/rcube_ldap.php
+++ b/program/include/rcube_ldap.php
@@ -685,8 +685,8 @@
         } // 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;
             }

--
Gitblit v1.9.1