From f1af3647aab447ce48d4955fc22d4b0be82e830d Mon Sep 17 00:00:00 2001 From: bMancone Date: Tue, 6 Mar 2012 14:45:08 +0000 Subject: [PATCH] // fixed mailalerts git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@13893 b9a71923-0436-4b27-9f14-aed3839534dd --- 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)