Commit 50a12a25 authored by Pietro Saccardi's avatar Pietro Saccardi

Fixing refactor error.

Weirdly this does not trigger during testing.
PHP scope magic?
parent 996eea23
Pipeline #445 passed with stages
in 3 minutes and 51 seconds
......@@ -40,7 +40,7 @@ class EvaluationContext {
}
$key = 'REMOTE_USER';
if (array_key_exists($key, $_SERVER)) {
return $_SERVER[$key] == $elmInstance->getStringValue();
return $_SERVER[$key] == $user;
}
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