Skip to content

Commit

Permalink
Merge pull request #27 from agencenous/fix-conditional-pp
Browse files Browse the repository at this point in the history
Fix missing equal in condition
  • Loading branch information
bjendres authored May 3, 2024
2 parents 0a05887 + ef564d4 commit 8038fcd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sepapp.php
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ function sepapp_civicrm_postProcess($formName, &$form)
if ($pp_id) {
try {
$pp = civicrm_api3("PaymentProcessor", "getsingle", array("id" => $pp_id));
if ($pp['class_name'] = "Payment_SDD" || $pp['class_name'] == 'Payment_SDDNG') {
if ($pp['class_name'] == "Payment_SDD" || $pp['class_name'] == 'Payment_SDDNG') {
$paymentProcessor = civicrm_api3(
'PaymentProcessor',
'getsingle',
Expand Down

0 comments on commit 8038fcd

Please sign in to comment.