diff --git a/panel/classes/Panel/Vmail/MboxesAdd.php b/panel/classes/Panel/Vmail/MboxesAdd.php index ce4187d..7e688fb 100644 --- a/panel/classes/Panel/Vmail/MboxesAdd.php +++ b/panel/classes/Panel/Vmail/MboxesAdd.php @@ -31,16 +31,15 @@ class MboxesAdd extends \Panel\Vmail { $f3->reroute("/Email/$domain/Accounts"); } } - } else { - $mbox = array(); - $mbox['status'] = 1; - $mbox['quota'] = $mbox_defaults[0]['mbox_quota_default']; - if ($mbox['quota'] == 'NULL') { $mbox['quota'] = 'Unlimited'; } - $mbox['ratelimit'] = $mbox_defaults[0]['mbox_ratelimit_default']; - if ($mbox['ratelimit'] == 'NULL') { $mbox['ratelimit'] = 'Unlimited'; } - $mbox['filtering'] = 2; - $f3->set('mbox', $mbox); } + $mbox = array(); + $mbox['status'] = 1; + $mbox['quota'] = $mbox_defaults[0]['mbox_quota_default']; + if ($mbox['quota'] == 'NULL') { $mbox['quota'] = 'Unlimited'; } + $mbox['ratelimit'] = $mbox_defaults[0]['mbox_ratelimit_default']; + if ($mbox['ratelimit'] == 'NULL') { $mbox['ratelimit'] = 'Unlimited'; } + $mbox['filtering'] = 2; + $f3->set('mbox', $mbox); } }