Merge branch 'ticket-9759' into develop

This commit is contained in:
Marion Muszynski 2016-03-29 17:20:55 +02:00
commit f6f481e09a

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);
}