Fix for listing mailboxes and aliases from multiple domains (#3996)
parent
b5bc766c53
commit
3c7995df7a
|
@ -845,7 +845,7 @@ if (isset($_GET['query'])) {
|
||||||
$domains = mailbox('get', 'domains');
|
$domains = mailbox('get', 'domains');
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
$domains = array($extra);
|
$domains = explode(',', $extra);
|
||||||
}
|
}
|
||||||
if (!empty($domains)) {
|
if (!empty($domains)) {
|
||||||
foreach ($domains as $domain) {
|
foreach ($domains as $domain) {
|
||||||
|
@ -1189,7 +1189,7 @@ if (isset($_GET['query'])) {
|
||||||
$domains = array_merge(mailbox('get', 'domains'), mailbox('get', 'alias_domains'));
|
$domains = array_merge(mailbox('get', 'domains'), mailbox('get', 'alias_domains'));
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
$domains = array($extra);
|
$domains = explode(',', $extra);
|
||||||
}
|
}
|
||||||
if (!empty($domains)) {
|
if (!empty($domains)) {
|
||||||
foreach ($domains as $domain) {
|
foreach ($domains as $domain) {
|
||||||
|
|
Loading…
Reference in New Issue