Files

12 lines
259 B
PHP
Raw Permalink Normal View History

2024-02-23 09:48:44 +01:00
<?php
class ContactformOverride extends Contactform
{
public function sendMessage()
{
2024-03-08 12:37:03 +01:00
Hook::exec('actionContactFormSubmitBefore');
if (!sizeof($this->context->controller->errors)) {
parent::sendMessage();
2024-02-23 09:48:44 +01:00
}
}
}