Merge branch 'master' of https://github.com/mailcow/mailcow-dockerized
commit
f5ca46f6d8
|
@ -604,7 +604,7 @@ function mailbox($_action, $_type, $_data = null, $_extra = null) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
$stmt = $pdo->prepare("INSERT INTO `alias` (`address`, `public_comment`, `private_comment`, `goto`, `domain`, `active`)
|
$stmt = $pdo->prepare("INSERT INTO `alias` (`address`, `public_comment`, `private_comment`, `goto`, `domain`, `active`)
|
||||||
VALUES (:address, :goto, :domain, :active)");
|
VALUES (:address, :public_comment, :private_comment, :goto, :domain, :active)");
|
||||||
if (!filter_var($address, FILTER_VALIDATE_EMAIL) === true) {
|
if (!filter_var($address, FILTER_VALIDATE_EMAIL) === true) {
|
||||||
$stmt->execute(array(
|
$stmt->execute(array(
|
||||||
':address' => '@'.$domain,
|
':address' => '@'.$domain,
|
||||||
|
|
Loading…
Reference in New Issue