Skip to content
Snippets Groups Projects
Unverified Commit 1f13ef00 authored by Greta's avatar Greta Committed by GitHub
Browse files

Merge pull request #3656 from nextcloud/fix/no-quota-error

Fix no quotas empty array error
parents 84d00b84 5877c900
No related branches found
No related tags found
No related merge requests found
......@@ -414,6 +414,11 @@ class MailManager implements IMailManager {
];
}, array_merge(...array_values($quotas)));
if (empty($storageQuotas)) {
// Nothing left to do, and array_merge doesn't like to be called with zero arguments.
return null;
}
/**
* Deduplicate identical quota roots
*/
......
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