Skip to content

Commit

Permalink
MMB-271: Refactor code to use status name instead of status id
Browse files Browse the repository at this point in the history
  • Loading branch information
shahrukh-moby committed Nov 6, 2023
1 parent 00c5c68 commit 6620a27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CRM/Certificate/Token/Certificate.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ private function getMembershipDates(TokenValueEvent $e): array {
'version' => 3,
'return' => ['start_date', 'end_date'],
'contact_id' => $contactId,
'status_id' => 2,
'status_id' => 'Current',
'sequential' => 1,
'options' => ['sort' => 'end_date desc', 'limit' => 1],
]
Expand Down

0 comments on commit 6620a27

Please sign in to comment.