]> 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)
committerJoy Nelson <joy@bywatersolutions.com>
Sun, 12 Jan 2020 20:52:36 +0000 (20:52 +0000)
commit374b627ff7db3445c280e40ee08724726166db00
treeb01c2fce43e38f9a2f8e832340fde189ef6c7b47
parent802211213ad0bb43b4b21ad4687b0fe711392328
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>
Signed-off-by: Joy Nelson <joy@bywatersolutions.com>
C4/Suggestions.pm