[-] MO: Mailalert should send alert for new order independently of the stock management

This commit is contained in:
Rémi Gaillard committed 2012-12-11 18:04:33 +01:00
1 parent b3b5f7a1e9
commit 4061c67c5b
1 file changed
+1 -1
+1 -1
View File
@@ -258,7 +258,7 @@ class MailAlerts extends Module
public function hookActionValidateOrder($params) 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; return;
// Getting differents vars // Getting differents vars