Bug 9016: (follow-up) GetMessageTransportTypes returns an arrayref, not hashref
authorJonathan Druart <jonathan.druart@biblibre.com>
Mon, 9 Sep 2013 14:52:29 +0000 (16:52 +0200)
committerGalen Charlton <gmc@esilibrary.com>
Fri, 2 May 2014 20:29:16 +0000 (20:29 +0000)
Signed-off-by: Olli-Antti Kivilahti <olli-antti.kivilahti@jns.fi>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
tools/letter.pl

index 0f242f3..2371218 100755 (executable)
@@ -188,7 +188,6 @@ sub add_form {
     }
     else { # initialize the new fields
         for my $mtt ( @$message_transport_types ) {
-            $mtt = $mtt->{message_transport_type};
             push @letter_loop, {
                 message_transport_type => $mtt,
             }