Skip to content

Commit

Permalink
Merge pull request #74 from multnomah-county-it/dev
Browse files Browse the repository at this point in the history
Fix uninitialized variable warnings
  • Loading branch information
john-c-houser authored Mar 29, 2024
2 parents 55320f5 + 894ec03 commit 725951c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ingestor.pl
Original file line number Diff line number Diff line change
Expand Up @@ -1008,7 +1008,7 @@ sub transform_email {
my $pattern = $yaml->[0]->{'clients'}->[$i]->{'email_pattern'};
if ( $existing->{'email'} ) {
my ($username, $domain) = split /\@/, $existing->{'email'};
if ( $pattern eq $domain ) {
if ( $domain && $pattern eq $domain ) {
$match = 1;
last;
}
Expand Down

0 comments on commit 725951c

Please sign in to comment.