]> 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 Cormack <chrisc@catalyst.net.nz>
Tue, 26 Jul 2011 20:56:15 +0000 (08:56 +1200)
commit68f99cdf980222dcb557667925bd6024640cda2a
tree8fb83c6ea1cc19c51ad75429c00d7dd9f671df0e
parent0dae6dca92bcf751168c4bcaee6b09a3bdc1e77f
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>
C4/Acquisition.pm