Skip to content
Snippets Groups Projects
Unverified Commit e193e14a authored by Roeland Jago Douma's avatar Roeland Jago Douma Committed by GitHub
Browse files

Merge pull request #19989 from nextcloud/fix-single-ScopeContext-passed-to-setScopes

Fix single "ScopeContext" passed to "setScopes"
parents 11341e6c 46e37486
No related branches found
No related tags found
No related merge requests found
...@@ -143,7 +143,7 @@ class RuleMatcher implements IRuleMatcher { ...@@ -143,7 +143,7 @@ class RuleMatcher implements IRuleMatcher {
if ($this->entity->isLegitimatedForUserId($scopeCandidate->getScopeId())) { if ($this->entity->isLegitimatedForUserId($scopeCandidate->getScopeId())) {
$ctx = new LogContext(); $ctx = new LogContext();
$ctx $ctx
->setScopes($scopeCandidate) ->setScopes([$scopeCandidate])
->setEntity($this->entity) ->setEntity($this->entity)
->setOperation($this->operation); ->setOperation($this->operation);
$this->logger->logScopeExpansion($ctx); $this->logger->logScopeExpansion($ctx);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment