- 🇵🇰Pakistan riazsaid15 Office E-14, 4th Floor New spinzer IT Plaza next to Gul Haji Plaza, University Road, Peshawar
Minor changes in the patch. If it receives a string or array it will work as expected
When we pass multiple parameters in the set_attributes() function it gives us
TypeError: explode(): Argument #2 ($string) must be of type string, array given in explode() (line 215 of modules/contrib/ldap_search/src/Services/SearchResources.php).
When we use
$service = \Drupal::service('ldap_search.search');
and pass multiple parameters such as
$service->set_attributes(["samaccountname","mail"]);
Error is coming because we are passing an array instead of a string. So we need check in that method.
Active
4.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Minor changes in the patch. If it receives a string or array it will work as expected