Bug 31597: Add missing semicolon to restriction.pl
authorEmmi Takkinen <emmi.takkinen@koha-suomi.fi>
Thu, 22 Sep 2022 06:09:50 +0000 (09:09 +0300)
committerTomas Cohen Arazi <tomascohen@theke.io>
Thu, 22 Sep 2022 11:11:16 +0000 (08:11 -0300)
commitb7fa8136b417c92f4a73fb8b03284886a6ed493a
tree4071bb35fa1d9cc1e050aa1cab0c27068a08a1bb
parent8e25fa1dc5267f6fb6148412f0774c6880a2e7c3
Bug 31597: Add missing semicolon to restriction.pl

In restrictions.pl line 114 is missing a semicolon after try-catch statement.
This causes error 500 when one tries to delete restriction.

To test:
1. Navigate to "Patron restrictions".
2. Find or create patron restriction to be deleted.
3. Hit "Delete" and confirm deletion.
=> Error 500 is raised.
4. Apply this patch.
5. Try to delete again.
=> Success!

Sponsored-by: Koha-Suomi Oy
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
admin/restrictions.pl