empty var fix

This commit is contained in:
Matthew Saunders Brown 2022-09-27 16:06:29 -07:00
parent 2b0c906615
commit eb782d6ccd

View File

@ -33,6 +33,9 @@ class MboxesAdd extends \Panel\Vmail {
} }
} }
$mbox = array(); $mbox = array();
$mbox['localpart'] = '';
$mbox['password'] = '';
$mbox['password_confirm'] = '';
$mbox['status'] = 1; $mbox['status'] = 1;
$mbox['quota'] = $mbox_defaults[0]['mbox_quota_default']; $mbox['quota'] = $mbox_defaults[0]['mbox_quota_default'];
if ($mbox['quota'] == 'NULL') { $mbox['quota'] = 'Unlimited'; } if ($mbox['quota'] == 'NULL') { $mbox['quota'] = 'Unlimited'; }