Skip to content

Commit

Permalink
CRM-20750 follow up fix from QA
Browse files Browse the repository at this point in the history
In pr civicrm#10920 @sunilpawar spotted this error
  • Loading branch information
eileenmcnaughton committed Sep 13, 2017
1 parent 95e42bb commit 17ea57c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CRM/Contribute/BAO/Contribution.php
Original file line number Diff line number Diff line change
Expand Up @@ -5363,7 +5363,7 @@ protected static function isPaymentInstrumentChange(&$params, $pendingStatuses)
}
elseif ((!CRM_Utils_System::isNull($params['payment_instrument_id']) &&
!CRM_Utils_System::isNull($params['prevContribution']->payment_instrument_id)) &&
$params['contribution']->payment_instrument_id != $params['prevContribution']->payment_instrument_id
$params['payment_instrument_id'] != $params['prevContribution']->payment_instrument_id
) {
return TRUE;
}
Expand Down

0 comments on commit 17ea57c

Please sign in to comment.