From: Eileen McNaughton Date: Fri, 12 Jun 2015 00:17:26 +0000 (+1200) Subject: CRM-16555-4 phpcs fix X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=6109d8dfa80dfe827c3acfa9ffd1f7a92c05be18;p=civicrm-core.git CRM-16555-4 phpcs fix --- diff --git a/CRM/Core/Payment.php b/CRM/Core/Payment.php index 20d3fc7f3c..360b532407 100644 --- a/CRM/Core/Payment.php +++ b/CRM/Core/Payment.php @@ -560,7 +560,7 @@ abstract class CRM_Core_Payment { * URL for a failing transactor to be redirected to. */ protected function getReturnFailUrl($key, $participantID = NULL, $eventID = NULL) { - $test = $this->_is_test ? '&action=preview' : ''; + $test = $this->_is_test ? '&action=preview' : ''; if ($this->_component == "event") { return CRM_Utils_System::url('civicrm/event/register', "reset=1&cc=fail&participantId={$participantID}&id={$eventID}{$test}&qfKey={$key}", @@ -585,7 +585,7 @@ abstract class CRM_Core_Payment { protected function getGoBackUrl($qfKey) { return CRM_Utils_System::url($this->getBaseReturnUrl(), array( '_qf_Confirm_display' => 'true', - 'qfKey' => $qfKey + 'qfKey' => $qfKey, ), TRUE, NULL, FALSE );