Bugzilla – Attachment 140842 Details for
Bug 31597
Missing semicolon after try-catch in restrictions.pl
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 31597: Add missing semicolon to restriction.pl
Bug-31597-Add-missing-semicolon-to-restrictionpl.patch (text/plain), 1.12 KB, created by
Marcel de Rooy
on 2022-09-22 07:10:39 UTC
(
hide
)
Description:
Bug 31597: Add missing semicolon to restriction.pl
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2022-09-22 07:10:39 UTC
Size:
1.12 KB
patch
obsolete
>From d711f8e33b6e440e73f8826409e7db2b32cec6f3 Mon Sep 17 00:00:00 2001 >From: Emmi Takkinen <emmi.takkinen@koha-suomi.fi> >Date: Thu, 22 Sep 2022 09:09:50 +0300 >Subject: [PATCH] Bug 31597: Add missing semicolon to restriction.pl >Content-Type: text/plain; charset=utf-8 > >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> >--- > admin/restrictions.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/admin/restrictions.pl b/admin/restrictions.pl >index facec8e319..06812c0bfa 100755 >--- a/admin/restrictions.pl >+++ b/admin/restrictions.pl >@@ -110,7 +110,7 @@ if ( $op eq 'add_form') { > push @messages, { type => 'error', code => 'delete_system' }; > } > } >- } >+ }; > $op = 'list'; > } > >-- >2.30.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 31597
:
140841
| 140842