Skip to content

Commit

Permalink
Merge pull request #1663 from tomudding/fix/birthday-expiration-check
Browse files Browse the repository at this point in the history
Do not show birthdays of recently expired people
  • Loading branch information
tomudding authored Jul 2, 2023
2 parents 185ada3 + 1557f8e commit 1dc6776
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion module/Decision/src/Mapper/Member.php
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ public function findBirthdayMembers(int $days): array
DATE_SUB(CURDATE(), INTERVAL YEAR(CURDATE()) YEAR)
) BETWEEN 0 AND :days
AND t1.deleted = 0
AND t1.expiration >= CURDATE()
AND t1.expiration > CURDATE()
AND t1.hidden = 0
ORDER BY DATE_SUB(t1.birth, INTERVAL YEAR(t1.birth) YEAR) ASC
QUERY;
Expand Down

0 comments on commit 1dc6776

Please sign in to comment.