Merge branch '111_exports_suite' into testing

This commit is contained in:
2022-09-28 09:49:33 +02:00
15 changed files with 118 additions and 126 deletions

View File

@@ -536,8 +536,8 @@ class ExportManager
. 'an ExportInterface.');
}
if (null === $centers || [] === $centers) {
// we want to try if at least one center is reachable
if (null === $centers || [] !== $centers) {
// we want to try if at least one center is reachabler
return [] !== $this->authorizationHelper->getReachableCenters(
$this->user,
$role