From 7d7e8f822e967a7233eab372eb85e339ef83e79a Mon Sep 17 00:00:00 2001 From: David Thompson Date: Mon, 14 Jul 2014 15:49:49 -0400 Subject: [PATCH] Return NULL in outermost level of checkConfig method. --- trustcommerce.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/trustcommerce.php b/trustcommerce.php index 50acaea..ab183b4 100644 --- a/trustcommerce.php +++ b/trustcommerce.php @@ -398,9 +398,9 @@ class org_fsf_payment_trustcommerce extends CRM_Core_Payment { if (!empty($error)) { return implode('

', $error); - } else { - return NULL; } + + return NULL; } function cancelSubscription(&$message = '', $params = array()) { -- 2.25.1