Bug 22907: Fix new suggestion with strict sql modes
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 14 May 2019 17:06:24 +0000 (12:06 -0500)
committerNick Clemens <nick@bywatersolutions.com>
Thu, 30 May 2019 10:19:06 +0000 (10:19 +0000)
commit2329d2ea8393e133bf689eb2d311fb0bcc99640f
tree8727b656b154f892a9b596d476b27497b5fc9b48
parent936cf409992d6393473f564a25f70ea8b390e74b
Bug 22907: Fix new suggestion with strict sql modes

With sql_strict_modes turned on, if you try to create a new suggestion
you will get:
Incorrect integer value: '' for column '$INT_COLUMN' at row 1

Test plan:
Turn on strict_sql_modes, create a new suggestion, then edit it.

Signed-off-by: Liz Rea <wizzyrea@gmail.com>

JD: Edit after SO, remove unecessary changes (not related to this bug)

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
C4/Suggestions.pm