Bugzilla – Attachment 14069 Details for
Bug 8378
<fine> syntax not working on overdues anymore
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 8378: Fix overdue letter generation
Bug-8378-Fix-overdue-letter-generation.patch (text/plain), 1.20 KB, created by
Julian Maurice
on 2012-12-13 10:58:41 UTC
(
hide
)
Description:
Bug 8378: Fix overdue letter generation
Filename:
MIME Type:
Creator:
Julian Maurice
Created:
2012-12-13 10:58:41 UTC
Size:
1.20 KB
patch
obsolete
>From aa25eb5fcd532b65c84e2e5c49ea53ccafeb0ee7 Mon Sep 17 00:00:00 2001 >From: Julian Maurice <julian.maurice@biblibre.com> >Date: Thu, 13 Dec 2012 11:50:57 +0100 >Subject: [PATCH] Bug 8378: Fix overdue letter generation > >In overdue_notices.pl, letter template must not be passed to >parse_letter because this sub modifies it, so the first overdue letter >is ok but following letters have exactly the same content. >This patch make a copy of the template before passing it to parse_letter >--- > misc/cronjobs/overdue_notices.pl | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/misc/cronjobs/overdue_notices.pl b/misc/cronjobs/overdue_notices.pl >index e83bd39..8c157d2 100755 >--- a/misc/cronjobs/overdue_notices.pl >+++ b/misc/cronjobs/overdue_notices.pl >@@ -509,7 +509,7 @@ END_SQL > > my $letter = parse_letter( > { letter_code => $overdue_rules->{"letter$i"}, >- letter => $letter_template, >+ letter => { %$letter_template }, > borrowernumber => $borrowernumber, > branchcode => $branchcode, > items => \@items, >-- >1.7.2.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 8378
:
11628
|
11804
|
11805
|
11806
|
11906
|
12286
|
14069
|
16387
|
16388
|
16390
|
16407
|
16408
|
16513
|
16515
|
16518
|
16522
|
16528
|
16529
|
16530
|
16531