Bugzilla – Attachment 68727 Details for
Bug 19212
Warns when asking for a discharge OPAC
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 19212: Preventing warns when asking for discharge
Bug-19212-Preventing-warns-when-asking-for-dischar.patch (text/plain), 1.11 KB, created by
Kyle M Hall (khall)
on 2017-10-27 14:42:40 UTC
(
hide
)
Description:
Bug 19212: Preventing warns when asking for discharge
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2017-10-27 14:42:40 UTC
Size:
1.11 KB
patch
obsolete
>From 686dedf37e35834bbb2f4f60347fe6f17112f60d Mon Sep 17 00:00:00 2001 >From: Aleisha Amohia <aleishaamohia@hotmail.com> >Date: Wed, 30 Aug 2017 23:35:57 +0000 >Subject: [PATCH] Bug 19212: Preventing warns when asking for discharge >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >To test: >1) Ensure the useDischarge syspref is enabled >2) Log in to OPAC >3) Go to 'ask for a discharge' >4) Notice warns >5) Apply patch and refresh page >6) Notice warns are gone > >Sponsored-by: Catalyst IT > >Warnings reproduced in plack-error.log, with patch they are gone. >Signed-off-by: Marc Véron <veron@veron.ch> >--- > opac/opac-discharge.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/opac/opac-discharge.pl b/opac/opac-discharge.pl >index c5f4745..7653dc6 100755 >--- a/opac/opac-discharge.pl >+++ b/opac/opac-discharge.pl >@@ -37,7 +37,7 @@ unless ( C4::Context->preference('useDischarge') ) { > exit; > } > >-my $op = $input->param("op"); >+my $op = $input->param("op") || ''; > > # Getting the template and auth > my ( $template, $loggedinuser, $cookie ) = get_template_and_user({ >-- >2.10.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 19212
:
66660
|
67081
| 68727