Skip to content
Snippets Groups Projects
Unverified Commit 4a634f74 authored by Tim van Dijen's avatar Tim van Dijen Committed by GitHub
Browse files

Make sure $value is of type Array

parent aa29d066
No related branches found
No related tags found
No related merge requests found
...@@ -207,6 +207,7 @@ class SimpleSAML_Auth_LDAP ...@@ -207,6 +207,7 @@ class SimpleSAML_Auth_LDAP
{ {
// Create the search filter // Create the search filter
$attribute = self::escape_filter_value($attribute, false); $attribute = self::escape_filter_value($attribute, false);
$value = \SimpleSAML\Utils\Arrays::Arrayize($value);
$value = self::escape_filter_value($value); $value = self::escape_filter_value($value);
$filter = ''; $filter = '';
foreach ($attribute as $attr) { foreach ($attribute as $attr) {
......
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