mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Merge pull request #23878 from hregis/fix_can_not_set_prospect_status
FIX Object of class LDAP\Connection could not be converted to string
This commit is contained in:
commit
b40cd67fa8
|
|
@ -1058,7 +1058,7 @@ class Ldap
|
|||
if (is_array($attributeArray)) {
|
||||
// Return list with required fields
|
||||
$attributeArray = array_values($attributeArray); // This is to force to have index reordered from 0 (not make ldap_search fails)
|
||||
dol_syslog(get_class($this)."::getRecords connection=".$this->connection." userDn=".$userDn." filter=".$filter." attributeArray=(".join(',', $attributeArray).")");
|
||||
dol_syslog(get_class($this)."::getRecords connection=".get_resource_type($this->connection)." userDn=".$userDn." filter=".$filter." attributeArray=(".join(',', $attributeArray).")");
|
||||
//var_dump($attributeArray);
|
||||
$this->result = @ldap_search($this->connection, $userDn, $filter, $attributeArray);
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user