]> git.koha-community.org Git - koha.git/commit
Bug 24244: Send null instead of empty string if branch not set
authorNick Clemens <nick@bywatersolutions.com>
Fri, 13 Dec 2019 19:58:52 +0000 (19:58 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 2 Jan 2020 12:15:11 +0000 (12:15 +0000)
commitee4d99cc76a79ad11c1b0a2b096abb2f9b85bf0e
tree43f106332e498cc1b472c7a2b916d16b8c00c0e5
parent611cb461893cf09481895ee23b769cb5ee078bed
Bug 24244: Send null instead of empty string if branch not set

Fix NewSuggestion if branchcode is passed with an empty string.
Error was "Broken FK constraint"

Test plan:
Create a new suggestion, select "any" for the library.

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
C4/Suggestions.pm