Skip to content
Snippets Groups Projects
Verified Commit 9fd4c183 authored by Pavel Vyskočil's avatar Pavel Vyskočil
Browse files

fix: fix bad comparation for array item

parent 94f888fa
Branches
Tags
1 merge request!2fix: Bad comparation for array item
......@@ -69,7 +69,7 @@ class AttributeCheck
}
} elseif (is_array($item)) {
foreach ($item as $listItem) {
if (! array_key_exists($item, $attributes)) {
if (! array_key_exists($listItem, $attributes)) {
return self::NOT_OK;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment