If the name is not in email, the name is not correctly retrieved.
Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
# So we can only sent the first one to the template.
for my $mtt ( @$message_transport_types ) {
# The letter_name
- if ( $first_flag ) {
+ if ( $first_flag and $letters->{$mtt}{name} ) {
$template->param(
letter_name=> $letters->{$mtt}{name},
);