Commit 3374398a authored by Pietro Saccardi's avatar Pietro Saccardi

Fixing another refactoring error.

Today I'm a bit sick.
parent 50a12a25
Pipeline #447 passed with stages
in 4 minutes and 5 seconds
......@@ -26,7 +26,7 @@ class EvaluationContext {
$key2 = 'grps';
if (is_array($INFO) && array_key_exists($key1, $INFO)) {
if (is_array($INFO[$key1]) && array_key_exists($key2, $INFO[$key1])) {
return in_array($groupName, $INFO[$key1][$key2]);
return in_array($group, $INFO[$key1][$key2]);
}
}
return false;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment