https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=44237 --- Comment #1 from Hammat wele <hammat.wele@inlibro.com> --- Created attachment 212439 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=212439&action=edit Bug 44237: System preferences with class: multiple incorrectly select the option with value 0 when the database value is empty When a system preference is defined with class: multiple and uses choices, an empty database value causes the option with value 0 to be automatically selected in the staff interface, even though no value is stored in the database. To reproduce 1. Open the DefaultLongOverduePatronCategories system preference 2. Ensure that no option is selected 3. Go to Administration > Patron categories 4. Add a new patron category with the following details: - Category code: 0 - Description: CategorieTest - In months: 2 - Category type: Adult 5. Return to the DefaultLongOverduePatronCategories system preference ==> CategorieTest is automatically selected 6. Deselect CategorieTest and save the preference 7. Reload the page ==> CategorieTest is still selected 8. Apply the patch 9. Reload the system preference page ==> CategorieTest is no longer selected by default -- You are receiving this mail because: You are watching all bug changes.