This commit is contained in:
Marion Muszynski 2016-03-29 17:20:28 +02:00
parent 975c490261
commit ba8fa44d2f

View File

@ -163,8 +163,6 @@ class ContactController extends ContactControllerCore {
$ct->add();
}
Module::hookExec('ant_alert', array());
if ($ct->id)
{
$cm = new CustomerMessage();
@ -188,6 +186,9 @@ class ContactController extends ContactControllerCore {
else
$this->errors[] = Tools::displayError('An error occurred while sending message.');
}
Module::hookExec('ant_alert', array());
if (count($this->errors) > 1)
array_unique($this->errors);
}