Bug 18689: calendar error with double quotes in title or description of holiday
commitf1d90f205e3dc8177c0d524b208d9d4a367cf56e
authorMarc Véron <veron@veron.ch>
Sun, 4 Jun 2017 16:04:00 +0000 (4 18:04 +0200)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 9 Jun 2017 14:50:55 +0000 (9 11:50 -0300)
tree56566b9e262164fbadfad22de0687f85782b7777
parent6a2ef935ac63c67a4b31d8c3eb9bcb8d974d844e
Bug 18689: calendar error with double quotes in title or description of holiday

This patch fixes the calendar display with holidays having double qoutes in
title or description.

To test:
- Apply patch
- Go to Home > Tools > Calendar
- Create new holidays of each type (Day only, repeated wekly/yearly,
  range, yearly repeated range and enter double qoutes in their titles and
  descriptions
- Verify that calendar displays and works as expected
- Verify that you can edit the holidays

Signed-off-by: Lee Jamison <ldjamison@marywood.edu>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/en/modules/tools/holidays.tt