### Eclipse Workspace Patch 1.0 #P expresso-2.2 Index: expressoAdmin1_2/inc/class.ldap_functions.inc.php =================================================================== --- expressoAdmin1_2/inc/class.ldap_functions.inc.php (revisão 5203) +++ expressoAdmin1_2/inc/class.ldap_functions.inc.php (cópia de trabalho) @@ -999,7 +999,6 @@ $result['msg'] = $this->functions->lang('Error on function') . " ldap_functions->add_user2maillist ($dn)" . ".\n" . $this->functions->lang('Server returns') . ': ' . ldap_error($this->ldap); } - ldap_close($this->ldap); return $result; } @@ -1048,7 +1047,6 @@ else $result['msg'] = $this->functions->lang('Error on function') . " ldap_functions->remove_user2maillist ($dn)" . ".\n" . $this->functions->lang('Server returns') . ': ' . ldap_error($this->ldap); } - ldap_close($this->ldap); return $result; }