Skip to content
This repository was archived by the owner on Oct 24, 2022. It is now read-only.

Commit d668662

Browse files
author
Dominik František Bučík
authored
Merge pull request #2 from CESNET/attributes_fix_comparation
fix: Bad comparation for array item
2 parents 94f888f + 9fd4c18 commit d668662

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/AttributeCheck.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ private static function getGroupResult($type, array $group_attributes, $attribut
6969
}
7070
} elseif (is_array($item)) {
7171
foreach ($item as $listItem) {
72-
if (! array_key_exists($item, $attributes)) {
72+
if (! array_key_exists($listItem, $attributes)) {
7373
return self::NOT_OK;
7474
}
7575
}

0 commit comments

Comments
 (0)