Bugzilla – Attachment 65033 Details for
Bug 18858
Warn when deleting a borrower debarment
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 18858: Prevent warn when deleting a borrower debarment
Bug-18858-Prevent-warn-when-deleting-a-borrower-de.patch (text/plain), 1.12 KB, created by
Jonathan Druart
on 2017-07-13 21:24:07 UTC
(
hide
)
Description:
Bug 18858: Prevent warn when deleting a borrower debarment
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2017-07-13 21:24:07 UTC
Size:
1.12 KB
patch
obsolete
>From 7ed66a6c8ae1c3c824e496c2d312e23db1dd8e41 Mon Sep 17 00:00:00 2001 >From: Aleisha Amohia <aleishaamohia@hotmail.com> >Date: Tue, 27 Jun 2017 01:40:48 +0000 >Subject: [PATCH] Bug 18858: Prevent warn when deleting a borrower debarment > >To test: >1) Look at intranet log >2) Go to delete a debarment on a borrower >3) Notice warn >4) Apply patch >5) Add a new debarment >6) Delete this debarment >7) Notice warn is gone > >Sponsored-by: Catalyst IT > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > members/mod_debarment.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/members/mod_debarment.pl b/members/mod_debarment.pl >index 5724b2be49..9feaf1a13c 100755 >--- a/members/mod_debarment.pl >+++ b/members/mod_debarment.pl >@@ -33,7 +33,7 @@ my $borrowernumber = $cgi->param('borrowernumber'); > my $action = $cgi->param('action'); > > if ( $action eq 'del' ) { >- DelDebarment( $cgi->param('borrower_debarment_id') ); >+ DelDebarment( scalar $cgi->param('borrower_debarment_id') ); > } elsif ( $action eq 'add' ) { > my $expiration = $cgi->param('expiration'); > if ($expiration) { >-- >2.11.0
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 18858
:
64665
| 65033