From 5be5787afda383ed9e0fa795d0cf5c4a4015aea9 Mon Sep 17 00:00:00 2001 From: "Michael Kaufmann (d00p)" Date: Mon, 16 Dec 2013 13:28:03 +0100 Subject: [PATCH] fix wrong Database method-usage when toggling catchall for e-mail address Signed-off-by: Michael Kaufmann (d00p) --- customer_email.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/customer_email.php b/customer_email.php index cb233425..c30e1670 100644 --- a/customer_email.php +++ b/customer_email.php @@ -379,7 +379,7 @@ if ($page == 'overview') { standard_error('youhavealreadyacatchallforthisdomain'); exit; } else { - $stmt = Database::pexecute("UPDATE `" . TABLE_MAIL_VIRTUAL . "` + $stmt = Database::prepare("UPDATE `" . TABLE_MAIL_VIRTUAL . "` SET `email` = :email , `iscatchall` = '1' WHERE `customerid`= :cid AND `id`= :id"