https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20781 Bug ID: 20781 Summary: 0 months is not a valid enrollment period and causes errors Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Staff Client Assignee: koha-bugs@lists.koha-community.org Reporter: nick@bywatersolutions.com QA Contact: testopia@bugs.koha-community.org CC: gmcharlt@gmail.com To recreate: 1 - Browse to Admin->Patron Categories 2 - Click '+ New category' 3 - Enter data as required, however, enter 0 in 'Enrolment period' -> 'in months' 4 - Save 5 - View the list of categories, the new category has 'Enrolment period' = 'until' 6 - Create a patron in this category 7 - Search for them 8 - internal server error -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.