bug fix: mailman wrappers were not added if mail quota was over
This commit is contained in:
parent
06a3e2537e
commit
9ec0668da5
|
@ -376,7 +376,7 @@ ORDER BY
|
||||||
}
|
}
|
||||||
|
|
||||||
// Check the quota:
|
// Check the quota:
|
||||||
if (!$quota->cancreate("mail")) {
|
if (($type=="")&&!$quota->cancreate("mail")) {
|
||||||
$err->raise("mail", _("You cannot create email addresses: your quota is over"));
|
$err->raise("mail", _("You cannot create email addresses: your quota is over"));
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue