Files
lulandia.pl/modules/eicaptcha/override/modules/contactform/contactform.php
2025-04-01 00:38:54 +02:00

14 lines
317 B
PHP

<?php
class ContactformOverride extends Contactform
{
public function sendMessage()
{
//Module Eicaptcha : Check captcha before submit
Hook::exec('actionContactFormSubmitBefore');
if (!sizeof($this->context->controller->errors)) {
parent::sendMessage();
}
}
}