Commit 13525c28 authored by Tino Goratsch's avatar Tino Goratsch

fixed the contact form validation

parent 9dcc2b55
......@@ -14,7 +14,7 @@ interface BootstrapInterface extends HttpKernelInterface
/**
* Contains the current ACP3 version string
*/
const VERSION = '4.0.0-rc.10.1';
const VERSION = '4.0.0-rc.10.2';
/**
* Performs some startup checks
......
......@@ -81,6 +81,8 @@ class Index extends Core\Controller\AbstractFrontendAction
{
return $this->actionHelper->handlePostAction(
function () use ($formData) {
$this->formValidation->validate($formData);
$bool = $this->contactFormModel->sendContactFormEmail($formData);
if (isset($formData['copy'])) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment