Bug 22824: Prevent YesNo to be filled with invalid values
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 15 Feb 2021 10:37:58 +0000 (11:37 +0100)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 4 Mar 2021 15:18:42 +0000 (16:18 +0100)
commitdc19a4c2849a70cd1a636e2523257d8b7124c566
tree65bc1e2244a61d052e7fd42bb5482ace289731c0
parent211b8e7414d643dcca82f8ab5b350320fe3adbe8
Bug 22824: Prevent YesNo to be filled with invalid values

This patch prevents koha-preferences to set other values than 1/0 to be
used for YesNo prefs

Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
misc/admin/koha-preferences