From 6109d8dfa80dfe827c3acfa9ffd1f7a92c05be18 Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Fri, 12 Jun 2015 12:17:26 +1200 Subject: [PATCH] CRM-16555-4 phpcs fix --- CRM/Core/Payment.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 ); -- 2.25.1