Skip to content
Snippets Groups Projects
Commit 1a303601 authored by Regis Houssin's avatar Regis Houssin
Browse files

Fix: view LDAP attributes of entry

parent 6e08369c
No related branches found
No related tags found
No related merge requests found
......@@ -175,10 +175,10 @@ if ($result > 0)
$search = "(".$contact->_load_ldap_dn($info,2).")";
$records=$ldap->getAttribute($dn,$search);
//print_r($records);
//var_dump($records);
// Affichage arbre
if (sizeof($records) && (! isset($records['count']) || $records['count'] > 0))
if (sizeof($records) && $records != false && (! isset($records['count']) || $records['count'] > 0))
{
if (! is_array($records))
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment