Bugzilla – Attachment 114147 Details for
Bug 27144
Cannot delete any patrons
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 27144: Fix syntax error that prevents deleting patrons
Bug-27144-Fix-syntax-error-that-prevents-deleting-.patch (text/plain), 1.14 KB, created by
Kyle M Hall (khall)
on 2020-12-03 14:03:35 UTC
(
hide
)
Description:
Bug 27144: Fix syntax error that prevents deleting patrons
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2020-12-03 14:03:35 UTC
Size:
1.14 KB
patch
obsolete
>From 2fa5d21a71582bdf5d4e67acbd22d88ec37f9ee3 Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Joonas=20Kylm=C3=A4l=C3=A4?= <joonas.kylmala@helsinki.fi> >Date: Thu, 3 Dec 2020 15:23:22 +0200 >Subject: [PATCH] Bug 27144: Fix syntax error that prevents deleting patrons > >To test: > 1) In staff interface open up a patron record > 2) Click More -> Delete, and then "Yes, delete" > 3) Notice 500 error > 4) Apply patch > 5) Notice error is now gone when deleting > >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> >--- > members/deletemem.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/members/deletemem.pl b/members/deletemem.pl >index a508498182..492e00e581 100755 >--- a/members/deletemem.pl >+++ b/members/deletemem.pl >@@ -135,7 +135,7 @@ if ( $op eq 'delete_confirm' or $countissues > 0 or $debits or $is_guarantor ) { > print $input->redirect("/cgi-bin/koha/members/members-home.pl"); > } catch { > print $input->redirect("/cgi-bin/koha/members/moremember.pl?borrowernumber=$member&error=CANT_DELETE_ANONYMOUS_PATRON"); >- } >+ }; > # TODO Tell the user everything went ok > exit 0; # Exit without error > } >-- >2.24.1 (Apple Git-126)
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 27144
:
114145
|
114147
|
114182
|
114341