Fix var
This commit is contained in:
parent
13d92a6732
commit
f4f1b00946
@ -173,7 +173,7 @@ class Contactform extends Module {
|
||||
}
|
||||
$emails = array_unique($emails);
|
||||
|
||||
DB::getInstance()->executeS('DELETE FROM `'._DB_PREFIX_.'contactform_email` WHERE `type` = '.pSQL($_POST['type']));
|
||||
Db::getInstance()->executeS('DELETE FROM `'._DB_PREFIX_.'contactform_email` WHERE `type` = '.pSQL($_POST['type']));
|
||||
|
||||
foreach ($emails as $k => $email) {
|
||||
Db::getInstance()->autoExecute(_DB_PREFIX_.'contactform_email', [
|
||||
|
Loading…
Reference in New Issue
Block a user