Bug 14572 - insert_single_holiday() forces a value on an AUTO_INCREMENT column, durin...
authorRodrigo Santellan <rsantellan@gmail.com>
Wed, 21 Jun 2017 18:40:43 +0000 (15:40 -0300)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 6 Jul 2017 17:29:04 +0000 (14:29 -0300)
commitb94b16f67963b03fd17170d2c2f2efa581c12c0f
treec13c6c318541eedc49300da209734da700e64987
parentebb887e5c93c96c6fc51d95b76de6a221ba4463e
Bug 14572 - insert_single_holiday() forces a value on an AUTO_INCREMENT column, during an INSERT

Removing all the id from the columns on the inserts and removing the
parameter '' of the values for the id.

Test plan:
1) Go to tools -> calendar
2) Add a Holiday only on this day.
3) Add a Holiday repeated every same day of the week.
4) Add a Holiday repeated yearly on the same date.
5) Add a Holidays on a range.
6) Add a Holidays repeated yearly on a range.
7) You should have the five calendars displayed.

Signed-off-by: Lee Jamison <ldjamison@marywood.edu>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
C4/Calendar.pm