Skip to content
Snippets Groups Projects
Unverified Commit df76a93f authored by mattwire's avatar mattwire Committed by GitHub
Browse files

Merge pull request #16282 from agileware/CIVICRM-1417

Force reCaptcha is not working when pay later enabled
parents 121bc7de a3d94981
Branches
Tags
No related merge requests found
......@@ -283,7 +283,7 @@ class CRM_Contribute_Form_Contribution_Main extends CRM_Contribute_Form_Contribu
$this->buildComponentForm($this->_id, $this);
}
if (count($this->_paymentProcessors) >= 1 && !isset($this->_paymentProcessors[0]) && !$this->get_template_vars("isCaptcha") && $this->hasToAddForcefully()) {
if (count($this->_paymentProcessors) >= 1 && !$this->get_template_vars("isCaptcha") && $this->hasToAddForcefully()) {
if (!$this->_userID) {
$this->enableCaptchaOnForm();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment