Bug 22566: Fix some problems

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
Nick Clemens 2019-03-22 13:23:35 -04:00 committed by Martin Renvoize
parent 35fe9cf40b
commit b62473d192
Signed by: martin.renvoize
GPG key ID: 422B469130441A0F

View file

@ -354,7 +354,7 @@ sub _report_per_branch {
return {
letter => $letter,
email_address => $branch->{email},
$status
status => $status
};
}
return;
@ -470,6 +470,8 @@ sub emit {
}
}
else {
$addressee ||= q{};
$params->{admin_email} ||= q{};
my $email =
"-------- Email message --------" . "\n\n" . "To: "
. defined($addressee) ? $addressee