projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
CRM-11316 Fix online contrib, event reg, PCP account, petition signature and mailing...
[civicrm-core.git]
/
CRM
/
Contribute
/
Form
/
ContributionBase.php
diff --git
a/CRM/Contribute/Form/ContributionBase.php
b/CRM/Contribute/Form/ContributionBase.php
index cba721e901b40da8d22c371e9807b1a77297ea23..df47a2b74b252b66ca87de4e128662cfec894c3c 100644
(file)
--- a/
CRM/Contribute/Form/ContributionBase.php
+++ b/
CRM/Contribute/Form/ContributionBase.php
@@
-716,7
+716,8
@@
class CRM_Contribute_Form_ContributionBase extends CRM_Core_Form {
);
$this->_fields[$key] = $field;
}
- if ($field['add_captcha']) {
+ // CRM-11316 Is ReCAPTCHA enabled for this profile AND is this an anonymous visitor
+ if ($field['add_captcha'] && !$this->_userID) {
$addCaptcha = TRUE;
}
}