From c8b5169eb3f1d85298043fdcf248c8d07956d0da Mon Sep 17 00:00:00 2001 From: bMancone Date: Tue, 6 Mar 2012 14:45:08 +0000 Subject: [PATCH] // fixed mailalerts --- modules/mailalerts/mailalerts.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/mailalerts/mailalerts.php b/modules/mailalerts/mailalerts.php index 98edfdcac..0a74c9637 100644 --- a/modules/mailalerts/mailalerts.php +++ b/modules/mailalerts/mailalerts.php @@ -458,7 +458,7 @@ class MailAlerts extends Module } if ($this->_customer_qty && $quantity > 0) - MailAlert::sendCustomerAlert((int)$product->id, (int)$params['attribute_id']); + MailAlert::sendCustomerAlert((int)$product->id, (int)$params['id_product_attribute']); } public function hookActionProductAttributeUpdate($params)