Skip to content

Commit

Permalink
Fixed webtrees 2.1.x support
Browse files Browse the repository at this point in the history
  • Loading branch information
Uksusov Kirill committed May 1, 2022
1 parent eda1e28 commit fa734f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/views/email/facts.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<?= $fact->label() ?>:
<a href="<?= e($record->url()) ?>"><?= $record->fullName() ?></a>

<?php $year = $fact->date()->display(false, '%Y'); ?>
<?php $year = $fact->date()->display(null, '%Y'); ?>
<?php if (!empty($year)) : ?>
(<?= $year ?> / <?= $fact->anniv ?>)
<?php endif ?>
Expand Down

0 comments on commit fa734f0

Please sign in to comment.