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)
committerFridolin Somers <fridolin.somers@biblibre.com>
Wed, 12 May 2021 15:14:06 +0000 (17:14 +0200)
commit0c1af441122dbdd3db590de38b55e5158d153f61
treee716d3db97f301839713f885fbe19678ec58b7b7
parent4d9f262a3292352d91a03b60d60c5081a5aeb13a
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>
(cherry picked from commit e7aac53e9a33763724b7f0a0e9ac69518f0a926b)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
misc/cronjobs/thirdparty/TalkingTech_itiva_outbound.pl