X-Git-Url: https://vcs.fsf.org/?p=trustcommerce.git;a=blobdiff_plain;f=CRM%2FCore%2FPayment%2FTrustCommerce.php;fp=CRM%2FCore%2FPayment%2FTrustCommerce.php;h=347848eb2e6125814317e27b8a9a65a02d86c5fe;hp=9e987cb949d34f752bef458176a940119a459add;hb=0cd6acf54fdfde2f463b5380728df9e03ae1e032;hpb=390c0c256d7721af16ffaef68c9d3689103919ad diff --git a/CRM/Core/Payment/TrustCommerce.php b/CRM/Core/Payment/TrustCommerce.php index 9e987cb..347848e 100644 --- a/CRM/Core/Payment/TrustCommerce.php +++ b/CRM/Core/Payment/TrustCommerce.php @@ -339,10 +339,9 @@ class CRM_Core_Payment_TrustCommerce extends CRM_Core_Payment { require_once $file; $result=externalParametersBlacklist($tc_params); - if ($result[0] == TRUE){ - error_log("TrustCommerce: _isParamsBlacklisted() " . $result[1]); - return TRUE; - } + error_log("TrustCommerce: _isParamsBlacklisted() " . $result[1]); + return ($result[0] == TRUE); + }else error_log("TrustCommerce: missing ParamsBlacklist.php");