Skip to content

Commit

Permalink
Merge pull request #6806 from ChurchCRM/fix-format-age-error
Browse files Browse the repository at this point in the history
  • Loading branch information
DawoudIO authored Jan 6, 2024
2 parents 512e2d2 + 34b13dd commit fa1de76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ChurchCRM/utils/MiscUtils.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public static function getPhotoCacheExpirationTimestamp(): int

public static function formatAge(int $Month, int $Day, ?int $Year = null): string
{
if (empty($Year === null)) {
if (empty($Year)) {
return '';
}

Expand Down

0 comments on commit fa1de76

Please sign in to comment.