Bug 6017 : MT3157 : editing an attribute lead to Error500
[koha.git] / serials / subscription-add.pl
index b8d9a96..dbda323 100755 (executable)
@@ -160,6 +160,7 @@ if ($op eq 'addsubscription') {
         }
     $template->param(subtype => \@sub_type_data);
 
+    letter_loop( '', $template ) if ($op ne 'modsubscription' && $op ne 'dup' && $op ne 'mod');
 
     my $new_biblionumber = $query->param('biblionumber_for_new_subscription');
     if (defined $new_biblionumber) {