Bug 10845: (follow-up) fix message_transport_type parameter for Itiva cronjob
authorJonathan Druart <jonathan.druart@biblibre.com>
Thu, 1 May 2014 13:41:31 +0000 (15:41 +0200)
committerGalen Charlton <gmc@esilibrary.com>
Fri, 2 May 2014 20:29:19 +0000 (20:29 +0000)
The message_transport_type param should passed to GetPreparedLetter, not
part of the "tables" parameter.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
misc/cronjobs/thirdparty/TalkingTech_itiva_outbound.pl

index 42728d6..ba1b8f2 100755 (executable)
@@ -134,8 +134,8 @@ foreach my $type (@types) {
                 borrowers   => $issues->{'borrowernumber'},
                 biblio      => $issues->{'biblionumber'},
                 biblioitems => $issues->{'biblionumber'},
-                message_transport_type => 'phone',
             },
+            message_transport_type => 'phone',
         );
 
         die "No letter found for type $type!... dying\n" unless $letter;