Bug 27562: itiva notices break if record title contains quotes
authorKyle M Hall <kyle@bywatersolutions.com>
Mon, 14 Jan 2013 17:02:38 +0000 (09:02 -0800)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 11 May 2021 13:13:28 +0000 (15:13 +0200)
commite7aac53e9a33763724b7f0a0e9ac69518f0a926b
tree7ae58ad1fe30776758da8a55a996b53e8a17a79e
parentac1fd207aec54b4a0da1f6aa00a3f4f4d0752f07
Bug 27562: itiva notices break if record title contains quotes

itiva has reported to us that quotes in the title of a record cause the
call to not be made to the patron. The fix is to remove quotes from
the title, as quotes are not spoken anyway ( That is, "Queens" and
"Queen's" are pronounced the same ).

Test Plan:
1) Set up itiva to send phone notes
2) Find a record with quotes in the title
3) Trigger an itiva notice ( checkout, checkin, place hold, etc )
   using the itiva outbound cronjob
4) View the CSV, note the title has the quotes in it
5) Apply this patch
6) Repeat steps 2-3
7) View the CSV, note the title contains no quotes!

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
misc/cronjobs/thirdparty/TalkingTech_itiva_outbound.pl