diff options
author | Roeland Jago Douma <rullzer@users.noreply.github.com> | 2020-03-17 15:08:25 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-17 15:08:25 +0100 |
commit | e193e14a089e5650680ddd75fc4ebdef567d5fac (patch) | |
tree | 2b156b31063c29cfd58e89ee32c75e7aac2588e0 /apps/workflowengine | |
parent | 11341e6c244ab667daa6b9d7e2ca5f7e253edd18 (diff) | |
parent | 46e374860b57d9b0ead7a174dce746586b1eb050 (diff) | |
download | nextcloud-server-e193e14a089e5650680ddd75fc4ebdef567d5fac.tar.gz nextcloud-server-e193e14a089e5650680ddd75fc4ebdef567d5fac.zip |
Merge pull request #19989 from nextcloud/fix-single-ScopeContext-passed-to-setScopes
Fix single "ScopeContext" passed to "setScopes"
Diffstat (limited to 'apps/workflowengine')
-rw-r--r-- | apps/workflowengine/lib/Service/RuleMatcher.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/workflowengine/lib/Service/RuleMatcher.php b/apps/workflowengine/lib/Service/RuleMatcher.php index d73fe752f74..99a5db8a9d0 100644 --- a/apps/workflowengine/lib/Service/RuleMatcher.php +++ b/apps/workflowengine/lib/Service/RuleMatcher.php @@ -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); |