|
@@ -77,7 +77,7 @@ |
|
|
block discarded – undo |
|
77
|
77
|
) { |
|
78
|
78
|
$numberOfSites = 0; |
|
79
|
79
|
// In case a user can only access a single site, but more sites exists |
|
80
|
|
- $this->securityContext->withoutAuthorizationChecks(function () use (&$numberOfSites) { |
|
|
80
|
+ $this->securityContext->withoutAuthorizationChecks(function() use (&$numberOfSites) { |
|
81
|
81
|
$numberOfSites = $this->siteRepository->countAll(); |
|
82
|
82
|
}); |
|
83
|
83
|
$sites = $this->siteRepository->findOnline(); |
Please login to merge, or discard this patch.