[Web] List alias addresses whitespace separated
This commit is contained in:
parent
6ded3dbd95
commit
07c1a0bcd3
@ -2800,7 +2800,7 @@ function mailbox($_action, $_type, $_data = null, $attr = null) {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
$stmt = $pdo->prepare("SELECT `address` FROM `alias` WHERE `address` != `goto` AND `domain` = :domain");
|
$stmt = $pdo->prepare("SELECT REPLACE(`address`, ',', ' ') AS `address` FROM `alias` WHERE `address` != `goto` AND `domain` = :domain");
|
||||||
$stmt->execute(array(
|
$stmt->execute(array(
|
||||||
':domain' => $_data,
|
':domain' => $_data,
|
||||||
));
|
));
|
||||||
|
Loading…
Reference in New Issue
Block a user