bug fix: mailman wrappers were not added if mail quota was over

This commit is contained in:
Remi 2016-03-03 11:28:26 +01:00
parent 06a3e2537e
commit 9ec0668da5
1 changed files with 1 additions and 1 deletions

View File

@ -376,7 +376,7 @@ ORDER BY
}
// Check the quota:
if (!$quota->cancreate("mail")) {
if (($type=="")&&!$quota->cancreate("mail")) {
$err->raise("mail", _("You cannot create email addresses: your quota is over"));
return false;
}