https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41629

--- Comment #1 from Tomás Cohen Arazi (tcohen) <[email protected]> ---
Created attachment 203491
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=203491&action=edit
Bug 41629: Use Koha::CSV for inventory exports

This patch replaces the eval/Text::CSV usage with Koha::CSV in
tools/inventory.pl using the low-level API.

Benefits:
- formula => empty enforced (prevents formula injection)
- binary => 1 always set (UTF-8 safe)
- CSVDelimiter system preference used
- Removes runtime eval and direct Text::CSV dependency
- Removes explicit \n handling (eol handled by Koha::CSV)

Test plan:
1. Apply patches (depends on bug 41620)
2. Go to Tools > Inventory
3. Run an inventory and export as CSV
=> SUCCESS: CSV generated with correct columns and data
4. Sign off :-D

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to