]> git.koha-community.org Git - koha.git/commit
Bug 6614: Remove newlines from order notes when exporting to CSV
authorIan Walls <ian.walls@bywatersolutions.com>
Tue, 26 Jul 2011 18:22:53 +0000 (14:22 -0400)
committerChris Nighswonger <chris.nighswonger@gmail.com>
Tue, 26 Jul 2011 23:51:49 +0000 (19:51 -0400)
commitd5c1929ed1d2ff728cde963ace9b7e32fa49c564
tree0f9d7ade4980b5c219d52d314988bbd73727fad1
parente8f6412c1faea535b52a5cbd38599159c647fb65
Bug 6614: Remove newlines from order notes when exporting to CSV

Newline is not a valid character to Text::CSV's combine() subroutine.  If an order
contained a note with a newline in it, that line would come out as a blank entry in
the exported CSV.  This patch strips such characters, globally.

Signed-off-by: Nicole C. Engard <nengard@bywatersolutions.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 68f99cdf980222dcb557667925bd6024640cda2a)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
C4/Acquisition.pm