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