From: David Thompson Date: Mon, 14 Jul 2014 19:49:49 +0000 (-0400) Subject: Return NULL in outermost level of checkConfig method. X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=7d7e8f822e967a7233eab372eb85e339ef83e79a;p=trustcommerce.git Return NULL in outermost level of checkConfig method. --- 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()) {