[Web] List alias addresses whitespace separated

master
André 2018-06-08 09:13:25 +02:00
parent 6ded3dbd95
commit 07c1a0bcd3
1 changed files with 1 additions and 1 deletions

View File

@ -2800,7 +2800,7 @@ function mailbox($_action, $_type, $_data = null, $attr = null) {
return false;
}
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(
':domain' => $_data,
));