projects
/
trustcommerce.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0cd6acf
)
Only use ip reputation check on /donate RT#1733350
master
author
Ruben Rodriguez
<ruben@gnu.org>
Mon, 23 Aug 2021 19:49:20 +0000
(21:49 +0200)
committer
Ruben Rodriguez
<ruben@gnu.org>
Mon, 23 Aug 2021 19:49:20 +0000
(21:49 +0200)
CRM/Core/Payment/TrustCommerce.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Core/Payment/TrustCommerce.php
b/CRM/Core/Payment/TrustCommerce.php
index 347848eb2e6125814317e27b8a9a65a02d86c5fe..7f007b3a68ffbfcc4d241f80532f90040ec818b0 100644
(file)
--- a/
CRM/Core/Payment/TrustCommerce.php
+++ b/
CRM/Core/Payment/TrustCommerce.php
@@
-338,7
+338,9
@@
class CRM_Core_Payment_TrustCommerce extends CRM_Core_Payment {
if(file_exists($file)){
require_once $file;
- $result=externalParametersBlacklist($tc_params);
+ $checkIP= $this->_params[contributionPageID] == 14;
+ # tc_params, checkIP
+ $result=externalParametersBlacklist($tc_params, $checkIP);
error_log("TrustCommerce: _isParamsBlacklisted() " . $result[1]);
return ($result[0] == TRUE);