Bugzilla – Attachment 64730 Details for
Bug 18771
CGI.pm: Subroutine multi_param redefined
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 18771: CGI.pm: Subroutine multi_param redefined
Bug-18771-CGIpm-Subroutine-multiparam-redefined.patch (text/plain), 1.36 KB, created by
Lee Jamison
on 2017-06-29 21:59:21 UTC
(
hide
)
Description:
Bug 18771: CGI.pm: Subroutine multi_param redefined
Filename:
MIME Type:
Creator:
Lee Jamison
Created:
2017-06-29 21:59:21 UTC
Size:
1.36 KB
patch
obsolete
>From 33d3cc2244f918a05865175226784362c8f60532 Mon Sep 17 00:00:00 2001 >From: Mark Tompsett <mtompset@hotmail.com> >Date: Fri, 9 Jun 2017 13:19:13 -0400 >Subject: [PATCH] Bug 18771: CGI.pm: Subroutine multi_param redefined > >TEST PLAN >--------- >Follow the test plan on the first patch. > >Notice that with both patches applied, it is just a require CGI; >and comment added. > >Signed-off-by: Lee Jamison <ldjamison@marywood.edu> >--- > C4/Context.pm | 7 +------ > 1 file changed, 1 insertion(+), 6 deletions(-) > >diff --git a/C4/Context.pm b/C4/Context.pm >index 5e3f828..1aa08be 100644 >--- a/C4/Context.pm >+++ b/C4/Context.pm >@@ -80,18 +80,13 @@ BEGIN { > > # Redefine multi_param if cgi version is < 4.08 > # Remove the "CGI::param called in list context" warning in this case >+ require CGI; # Can't check version without the require. > if (!defined($CGI::VERSION) || $CGI::VERSION < 4.08) { >- print STDERR "Low version\n"; >- require CGI; # Can't check version without the require. >- print STDERR "Is actually: $CGI::VERSION\n"; > no warnings 'redefine'; > *CGI::multi_param = \&CGI::param; > use warnings 'redefine'; > $CGI::LIST_CONTEXT_WARN = 0; > } >- else { >- print STDERR "Okay version\n"; >- } > } # else there is no browser to send fatals to! > } > >-- >2.1.4
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 18771
:
64165
|
64166
|
64729
|
64730
|
64753
|
64754
|
64755