Skip to content

Commit

Permalink
CRM-15798 base rolling date on next annual start window not the one x…
Browse files Browse the repository at this point in the history
… years out

see master commit for more detail (& refactoring)
  • Loading branch information
eileenmcnaughton committed Jan 9, 2015
1 parent 898660d commit de5d6d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CRM/Member/BAO/MembershipType.php
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ public static function getDatesForMembershipType($membershipTypeId, $joinDate =
$fixedEndDate = date('Y-m-d', mktime(0, 0, 0,
$dateParts[1],
$dateParts[2] - 1,
$dateParts[0] + ($numRenewTerms * $membershipTypeDetails['duration_interval'])
$dateParts[0] + 1
));

//make sure rollover window should be
Expand Down

0 comments on commit de5d6d1

Please sign in to comment.