From 4061c67c5b39fb576c9b56019246bbede8fbfce7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Gaillard?= Date: Tue, 11 Dec 2012 18:04:33 +0100 Subject: [PATCH] [-] MO: Mailalert should send alert for new order independently of the stock management --- 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 ef5ce679b..7198e0e09 100644 --- a/modules/mailalerts/mailalerts.php +++ b/modules/mailalerts/mailalerts.php @@ -258,7 +258,7 @@ class MailAlerts extends Module public function hookActionValidateOrder($params) { - if (!$this->_merchant_order || empty($this->_merchant_mails) || !Configuration::get('PS_STOCK_MANAGEMENT')) + if (!$this->_merchant_order || empty($this->_merchant_mails)) return; // Getting differents vars