Skip to content
Snippets Groups Projects
Unverified Commit 5877c900 authored by Christoph Wurst's avatar Christoph Wurst
Browse files

Fix no quotas empty array error

parent 84d00b84
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