Commit 57b06569 authored by Nigel Kukard's avatar Nigel Kukard
Browse files

Small code cleanup

parent 3109d122
......@@ -467,10 +467,11 @@ sub emailAddressMatches
{
my ($email,$template) = @_;
my $match = 0;
# Sender may be null
return $match if ($email eq "");
# Sender may be blank, in the case of <>
return 0 if ($email eq "");
my $match = 0;
# Strip email addy
my ($email_user,$email_domain) = ($email =~ /^(\S+)@(\S+)$/);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment