Update json_api.php
parent
cf1e633b1a
commit
d28e0f2be0
|
@ -605,7 +605,7 @@ if (isset($_SESSION['mailcow_cc_role']) || isset($_SESSION['pending_mailcow_cc_u
|
|||
$domains = mailbox('get', 'domains');
|
||||
}
|
||||
else {
|
||||
$domains = [ $extra ];
|
||||
$domains = array($extra);
|
||||
}
|
||||
if (!empty($domains)) {
|
||||
foreach ($domains as $domain) {
|
||||
|
@ -949,7 +949,7 @@ if (isset($_SESSION['mailcow_cc_role']) || isset($_SESSION['pending_mailcow_cc_u
|
|||
$domains = array_merge(mailbox('get', 'domains'), mailbox('get', 'alias_domains'));
|
||||
}
|
||||
else {
|
||||
$domains = [ $extra ];
|
||||
$domains = array($extra);
|
||||
}
|
||||
if (!empty($domains)) {
|
||||
foreach ($domains as $domain) {
|
||||
|
|
Loading…
Reference in New Issue