Merge pull request #19989 from nextcloud/fix-single-ScopeContext-passed-to-setScopes
Fix single "ScopeContext" passed to "setScopes"
This commit is contained in:
commit
e193e14a08
|
@ -143,7 +143,7 @@ class RuleMatcher implements IRuleMatcher {
|
|||
if ($this->entity->isLegitimatedForUserId($scopeCandidate->getScopeId())) {
|
||||
$ctx = new LogContext();
|
||||
$ctx
|
||||
->setScopes($scopeCandidate)
|
||||
->setScopes([$scopeCandidate])
|
||||
->setEntity($this->entity)
|
||||
->setOperation($this->operation);
|
||||
$this->logger->logScopeExpansion($ctx);
|
||||
|
|
Loading…
Reference in New Issue