浏览代码

Merge branch 'master' of https://github.com/mailcow/mailcow-dockerized

andryyy 6 年之前
父节点
当前提交
f5ca46f6d8
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      data/web/inc/functions.mailbox.inc.php

+ 1 - 1
data/web/inc/functions.mailbox.inc.php

@@ -604,7 +604,7 @@ function mailbox($_action, $_type, $_data = null, $_extra = null) {
               return false;
             }
             $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) {
               $stmt->execute(array(
                 ':address' => '@'.$domain,