Ticket #2487: bugfix_ticket2487.patch

File bugfix_ticket2487.patch, 885 bytes (added by niltonneto, 12 years ago)

Corrigido problema causado pelo ldap_close.

  • expressoAdmin1_2/inc/class.ldap_functions.inc.php

    ### Eclipse Workspace Patch 1.0
    #P expresso-2.2
     
    999999                                $result['msg'] = $this->functions->lang('Error on function') . " ldap_functions->add_user2maillist ($dn)" . ".\n" . $this->functions->lang('Server returns') . ': ' . ldap_error($this->ldap); 
    10001000                } 
    10011001                 
    1002                 ldap_close($this->ldap); 
    10031002                return $result; 
    10041003        } 
    10051004         
     
    10481047                        else 
    10491048                                $result['msg'] = $this->functions->lang('Error on function') . " ldap_functions->remove_user2maillist ($dn)" . ".\n" . $this->functions->lang('Server returns') . ': ' . ldap_error($this->ldap); 
    10501049                } 
    1051                 ldap_close($this->ldap); 
    10521050                return $result; 
    10531051        } 
    10541052