Fixed a typo refs #1287

This commit is contained in:
BNoiZe
2013-11-19 12:44:32 +01:00
parent fa027863a2
commit 74faad408e

View File

@@ -224,12 +224,12 @@ if ($page == 'overview') {
$stmt = Database::prepare("SELECT `id`, `email`, `email_full`, `iscatchall`, `destination`, `customerid` FROM `" . TABLE_MAIL_VIRTUAL . "` $stmt = Database::prepare("SELECT `id`, `email`, `email_full`, `iscatchall`, `destination`, `customerid` FROM `" . TABLE_MAIL_VIRTUAL . "`
WHERE (`email` = :email WHERE (`email` = :email
OR `email_full` = :emailfull ) OR `email_full` = :emailfull )
AND `customerid`= :customerid" AND `customerid`= :cid"
); );
$params = array( $params = array(
"email" => $email, "email" => $email,
"email_full" => $email_full, "emailfull" => $email_full,
"customerid" => $userinfo['customerid'] "cid" => $userinfo['customerid']
); );
$email_check = Database::pexecute_first($stmt, $params); $email_check = Database::pexecute_first($stmt, $params);