[-] MO mailalert : products alerts can be registered for multiple guests

#PNM-1669
This commit is contained in:
Fabio Chelly
2013-09-20 10:46:56 +02:00
parent 8c6aaa3c7d
commit 91ae972655
2 changed files with 8 additions and 4 deletions
@@ -97,7 +97,7 @@ class MailalertsActionsModuleFrontController extends ModuleFrontController
$id_lang = (int)$context->language->id;
$product = new Product($id_product, false, $id_lang, $id_shop, $context);
$mailAlert = MailAlert::customerHasNotification($id_customer, $id_product, $id_product_attribute, $id_shop);
$mailAlert = MailAlert::customerHasNotification($id_customer, $id_product, $id_product_attribute, $id_shop, null, $customer_email);
if ($mailAlert)
die('2');