https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42312 --- Comment #2 from David Nind <david@davidnind.com> --- Created attachment 196972 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=196972&action=edit Bug 42312: Clear vendor address before saving new address lines This patch clears the vendor address fields before processing the new input and also adds a space between lines when joining the display To test: 1 - Create or edit a vendor and enter 'Physical address' as Line 1 Line 2 Line 3 Line 4 2 - Edit the vendor, clear physical address and enter: New Line 1 3 - Save, search for vendor, and note the address shows as New Line 1Line2Line3Line4 4 - Apply patch, yanr build, reload the page and clear cache 5 - Clear physicall address and enter Newnew line 1 6 - Search for vendor and confirm display is: Newnew line 1 Line 2 Line 3 Line 4 Signed-off-by: David Nind <david@davidnind.com> -- You are receiving this mail because: You are watching all bug changes.