Skip to content

Commit

Permalink
Look in the correct place for the newspaper record
Browse files Browse the repository at this point in the history
  • Loading branch information
nigelhorne committed Sep 3, 2024
1 parent afe0fb5 commit 0e7e688
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gedcom
Original file line number Diff line number Diff line change
Expand Up @@ -6272,7 +6272,7 @@ sub print_person
$phrase->set($firstname // $pronoun)->append(' ');
}
$phrase->append('appeared ');
my $newspaper = newspaper({ gedcom => $ged, person => $person, event => $events[0] });
my $newspaper = newspaper({ gedcom => $ged, person => $person, event => $newspapers[0] });
if(my $title = $newspaper->title()) {
$phrase->append("in $title");
} else {
Expand Down

0 comments on commit 0e7e688

Please sign in to comment.