Skip to content

Commit

Permalink
fixed crash
Browse files Browse the repository at this point in the history
  • Loading branch information
bjendres committed Jun 1, 2018
1 parent 4350d1a commit 7d3f86f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CRM/Membership/PaidByLogic.php
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,10 @@ public function getRecurringContribution($membership_id)
*/
public function getRecurringContributions($membership_ids) {
$result = array();
if (empty($membership_ids)) {
return $result;
}

$settings = CRM_Membership_Settings::getSettings();
$paid_via_field = $settings->getPaidViaField();
if (!$paid_via_field) {
Expand Down

0 comments on commit 7d3f86f

Please sign in to comment.