Skip to content

Commit 79c225f

Browse files
committed
Fixed: FS#723 - Unable to create email catch-alls even when an account has permissions to do so.
1 parent 2ebca95 commit 79c225f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

interface/web/mail/mail_domain_catchall_edit.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ function onShowNew() {
6161
$client = $app->db->queryOneRecord("SELECT limit_mailcatchall FROM sys_group, client WHERE sys_group.client_id = client.client_id and sys_group.groupid = $client_group_id");
6262

6363
// Check if the user may add another mailbox.
64-
if($client["limit_mailforward"] >= 0) {
64+
if($client["limit_mailcatchall"] >= 0) {
6565
$tmp = $app->db->queryOneRecord("SELECT count(forwarding_id) as number FROM mail_forwarding WHERE sys_groupid = $client_group_id and type = 'catchall'");
6666
if($tmp["number"] >= $client["limit_mailcatchall"]) {
6767
$app->error($app->tform->wordbook["limit_mailcatchall_txt"]);

0 commit comments

Comments
 (0)