Skip to content

Commit

Permalink
(bug #5164) fix csv in overdue notice
Browse files Browse the repository at this point in the history
This fix the csv export sent by email for empty lines.
  • Loading branch information
Nahuel ANGELINETTI committed Aug 24, 2010
1 parent 7fef1c4 commit 6107657
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions misc/cronjobs/overdue_notices.pl
Expand Up @@ -511,8 +511,8 @@ =head1 SEE ALSO
} else {
# Generate the content of the csv with headers
my $content = join(";", qw(title name surname address1 address2 zipcode city email itemcount itemsinfo due_date issue_date)) . "\n";
$content .= join( "\n", @output_chunks );
$content .= join( "\n", map { m/(.+)/ } @output_chunks );

my $attachment = {
filename => defined $csvfilename ? 'attachment.csv' : 'attachment.txt',
type => 'text/plain',
Expand Down

0 comments on commit 6107657

Please sign in to comment.