first commit
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
class OrderController extends OrderControllerCore
|
||||
{
|
||||
public function postProcess()
|
||||
{
|
||||
if (
|
||||
Tools::isSubmit('submitCreate')
|
||||
&& Module::isInstalled('eicaptcha')
|
||||
&& Module::isEnabled('eicaptcha')
|
||||
&& false === Module::getInstanceByName('eicaptcha')->hookActionContactFormSubmitCaptcha([])
|
||||
&& !empty($this->errors)
|
||||
) {
|
||||
unset($_POST['submitCreate']);
|
||||
}
|
||||
parent::postProcess();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user