From 0ecb9839b6f34aac39d89d9c95964589f6aea9ff Mon Sep 17 00:00:00 2001 From: Matthias Meusburger Date: Thu, 17 Sep 2009 10:56:41 +0200 Subject: [PATCH] MT 1885 : Fixed patron notification when adding subscription --- koha-tmpl/intranet-tmpl/prog/en/modules/tools/letter.tmpl | 2 +- serials/subscription-add.pl | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/letter.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/letter.tmpl index 985e636add..8f52903a4b 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/letter.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/letter.tmpl @@ -190,7 +190,7 @@ $(document).ready(function() { - + diff --git a/serials/subscription-add.pl b/serials/subscription-add.pl index 6df47f3aa5..c8f049b3b0 100755 --- a/serials/subscription-add.pl +++ b/serials/subscription-add.pl @@ -304,7 +304,6 @@ if ($op eq 'addsubscription') { } print $query->redirect("/cgi-bin/koha/serials/subscription-detail.pl?subscriptionid=$subscriptionid"); } else { - while (@subscription_types) { my $sub_type = shift @subscription_types; my %row = ( 'name' => $sub_type ); @@ -318,6 +317,8 @@ if ($op eq 'addsubscription') { $template->param(subtype => \@sub_type_data, ); + letter_loop('', $template); + my $new_biblionumber = $query->param('biblionumber_for_new_subscription'); if (defined $new_biblionumber) { my $bib = GetBiblioData($new_biblionumber); -- 2.39.5