Skip to content
Snippets Groups Projects
Commit e8d90a01 authored by Rodolphe Quiedeville's avatar Rodolphe Quiedeville
Browse files

Des erreurs encore des erreurs ....

parent 4e4a82f7
Branches
Tags
No related merge requests found
...@@ -149,12 +149,11 @@ class Contact ...@@ -149,12 +149,11 @@ class Contact
} }
ldap_close($ds); ldap_close($ds);
} }
}
else else
{ {
echo "Unable to connect to LDAP server"; echo "Unable to connect to LDAP server";
} }
}
return $result; return $result;
} }
...@@ -287,12 +286,13 @@ class Contact ...@@ -287,12 +286,13 @@ class Contact
echo "LDAP bind failed..."; echo "LDAP bind failed...";
} }
ldap_close($ds); ldap_close($ds);
}
} }
else else
{ {
echo "Unable to connect to LDAP server"; echo "Unable to connect to LDAP server";
} }
}
return $result; return $result;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment