Skip to content

Commit

Permalink
Updates from VWF
Browse files Browse the repository at this point in the history
  • Loading branch information
nigelhorne committed Jul 30, 2024
1 parent 585691b commit 6d5e62a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions dynamic-site/cgi-bin/page.fcgi
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,9 @@ sub sig_handler {
$SIG{USR1} = \&sig_handler;
$SIG{TERM} = \&sig_handler;
$SIG{PIPE} = 'IGNORE';
$ENV{'PATH'} = '/usr/local/bin:/bin:/usr/bin'; # For insecurity

$SIG{__WARN__} = sub { Log::WarnDie->dispatcher(undef); die @_ };

my $request = FCGI::Request();

Expand Down
2 changes: 1 addition & 1 deletion ged2site
Original file line number Diff line number Diff line change
Expand Up @@ -5168,7 +5168,7 @@ sub print_person
# TODO: Also check all children under 10
foreach my $l(@{$all_locations{$year}}) {
if(($l->{'person'}->xref() eq $spouses[0]->xref()) &&
($l->{'date'} eq $strftime)) {
(datecmp($l->{'date'}, $strftime) == 0)) {
my $r1 = place(record => $residence, nopreposition => 1);
my $r2 = place(record => $l->{'record'}, nopreposition => 1);
if($r1 ne $r2) {
Expand Down

0 comments on commit 6d5e62a

Please sign in to comment.