Skip to content

Commit

Permalink
Catch more duplicate occupations
Browse files Browse the repository at this point in the history
  • Loading branch information
nigelhorne committed Jan 24, 2020
1 parent 3448023 commit 4c5de51
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 @@ -7836,7 +7836,7 @@ sub get_all_occupations
while(scalar(@occupations) > 1) {
if(($occupations[0] =~ /^labou?rer/i) && ($occupations[1] =~ /^labou?rer/i)) {
shift @occupations;
} elsif($occupations[0] eq $occupations[1]) {
} elsif(lc($occupations[0]) eq lc($occupations[1])) {
shift @occupations;
} else {
last;
Expand Down

0 comments on commit 4c5de51

Please sign in to comment.