Skip to content

Commit

Permalink
[#29] fixed mandate update blocker
Browse files Browse the repository at this point in the history
  • Loading branch information
bjendres committed Jul 9, 2020
1 parent 69793b1 commit 83847cd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CRM/I3val/Handler/SddUpdate.php
Original file line number Diff line number Diff line change
Expand Up @@ -573,6 +573,9 @@ public function mendCurrentMandate($old_mandate, $update, $activity, $values, &$
}
}

// some changes should not prevent mandate updates (see I3VAL-29)
unset($changes['reason']);

// now see if there's something we can do
if (!empty($changes['amount']) && count($changes) == 1) {
// if only the amount has changed, go ahead:
Expand Down

0 comments on commit 83847cd

Please sign in to comment.