Skip to content

Commit

Permalink
Fix: #3492 - reinstate display of 'Yes' for events with 'Y'
Browse files Browse the repository at this point in the history
  • Loading branch information
fisharebest committed Aug 29, 2020
1 parent 451d4d8 commit 8c5b011
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Functions/FunctionsPrintFacts.php
Expand Up @@ -307,7 +307,7 @@ public static function printFact(Fact $fact, GedcomRecord $record): void
echo '<div class="field">', I18N::translate('No'), '</div>';
break;
case 'Y':
// Do not display "Yes".
echo '<div class="field">', I18N::translate('Yes'), '</div>';
break;
default:
if (preg_match('/^@(' . Gedcom::REGEX_XREF . ')@$/', $value, $match)) {
Expand Down

0 comments on commit 8c5b011

Please sign in to comment.