Bugzilla – Attachment 3595 Details for
Bug 5164
overdue script and csv
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed Patch
0003-bug-5164-fix-csv-in-overdue-notice.patch (text/plain), 1.04 KB, created by
Chris Cormack
on 2011-03-31 22:01:28 UTC
(
hide
)
Description:
Proposed Patch
Filename:
MIME Type:
Creator:
Chris Cormack
Created:
2011-03-31 22:01:28 UTC
Size:
1.04 KB
patch
obsolete
>From e590df4cf6a73a65ce13e05b71b9385c568f5fdc Mon Sep 17 00:00:00 2001 >From: Nahuel ANGELINETTI <nahuel.angelinetti@biblibre.com> >Date: Tue, 24 Aug 2010 12:09:54 +0200 >Subject: [PATCH] (bug #5164) fix csv in overdue notice > >This fix the csv export sent by email for empty lines. >--- > misc/cronjobs/overdue_notices.pl | 2 ++ > 1 files changed, 2 insertions(+), 0 deletions(-) > >diff --git a/misc/cronjobs/overdue_notices.pl b/misc/cronjobs/overdue_notices.pl >index 3ef566a..c266c56 100755 >--- a/misc/cronjobs/overdue_notices.pl >+++ b/misc/cronjobs/overdue_notices.pl >@@ -584,6 +584,8 @@ END_SQL > local $, = "\f"; # pagebreak > print @output_chunks; > } >+ my $content = join(";", qw(title name surname address1 address2 zipcode city email itemcount itemsinfo due_date issue_date)) . "\n"; >+ $content .= join( "\n", map { m/(.+)/ } @output_chunks ); > my $attachment = { > filename => defined $csvfilename ? 'attachment.csv' : 'attachment.txt', > type => 'text/plain', >-- >1.7.1 >
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 5164
: 3595