diff --git a/addressbook/inc/class.contacts_ldap.inc.php b/addressbook/inc/class.contacts_ldap.inc.php index 8627d1a6b6..a184e5e9d2 100644 --- a/addressbook/inc/class.contacts_ldap.inc.php +++ b/addressbook/inc/class.contacts_ldap.inc.php @@ -413,7 +413,7 @@ // $ldap_fields = $tmp; // } else { $ldap_fields = $this->asortbyindex($ldap_fields,'uidnumber'); - reset($ldap_fields); + @reset($ldap_fields); if (count($ldap_fields) > 0) { for ($a = 0; $a < count($ldap_fields); $a++)