Skip to content

Commit

Permalink
Some living people appeared in books when -l not given
Browse files Browse the repository at this point in the history
  • Loading branch information
nigelhorne committed Jul 18, 2024
1 parent 3666a22 commit 9578d72
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions gedcom
Original file line number Diff line number Diff line change
Expand Up @@ -1284,6 +1284,7 @@ if($opts{'H'}) {
}

if($opts{'B'}) {
# Add the index pages at the end of the book
$pdfpage = NJH::PDFPage->new($pdf);
my $page = $pdf->page();

Expand Down Expand Up @@ -1653,6 +1654,8 @@ sub print_person
return;
}

return if((!$opts{'l'}) && is_alive($person));

my $marriage = $person->get_record('marriage') || $person->get_record('fams marriage');
# my $dateofmarriage = get_value({ person => $person, value => 'marriage date' });
# if((!$dateofmarriage) && $marriage) {
Expand Down

0 comments on commit 9578d72

Please sign in to comment.