fix if/else code error

This commit is contained in:
Matthew Saunders Brown 2022-07-02 10:51:13 -07:00
parent fc52030df9
commit bdf80565f3

View File

@ -31,7 +31,7 @@ class MboxesAdd extends \Panel\Vmail {
$f3->reroute("/Email/$domain/Accounts"); $f3->reroute("/Email/$domain/Accounts");
} }
} }
} else { }
$mbox = array(); $mbox = array();
$mbox['status'] = 1; $mbox['status'] = 1;
$mbox['quota'] = $mbox_defaults[0]['mbox_quota_default']; $mbox['quota'] = $mbox_defaults[0]['mbox_quota_default'];
@ -41,7 +41,6 @@ class MboxesAdd extends \Panel\Vmail {
$mbox['filtering'] = 2; $mbox['filtering'] = 2;
$f3->set('mbox', $mbox); $f3->set('mbox', $mbox);
} }
}
} }