We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3264cac commit 3756e51Copy full SHA for 3756e51
1 file changed
ps_emailsubscription.php
@@ -964,7 +964,7 @@ public function hookActionCustomerAccountAdd($params)
964
$this->sendVoucher($email, $code);
965
}
966
967
- return (bool) Db::getInstance()->execute('DELETE FROM ' . _DB_PREFIX_ . 'emailsubscription WHERE id_shop=' . (int) $id_shop . ' AND email=\'' . pSQL($email) . "'");
+ return Db::getInstance()->execute('DELETE FROM `' . _DB_PREFIX_ . 'emailsubscription` WHERE id_shop = ' . (int) $id_shop . 'AND email = "' . pSQL($email) . '"');
968
969
970
return true;
0 commit comments