fix wrong Database method-usage when toggling catchall for e-mail address

Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann (d00p) 2013-12-16 13:28:03 +01:00
parent 8ad3c79589
commit 5be5787afd

View File

@ -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"