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

This commit is contained in:
Rémi Gaillard
2012-12-11 18:04:33 +01:00
parent b3b5f7a1e9
commit 4061c67c5b
+1 -1
View File
@@ -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