Bugzilla – Attachment 691 Details for
Bug 2505
Omnibus: Enable Perl warnings in all modules and scripts
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for opac-passwd.pl and opac-renew.pl
0014-Bug-2505-Enable-warnings-in-opac-passwd.pl-an-opac.patch (text/plain), 1.39 KB, created by
Chris Cormack
on 2009-08-12 18:06:00 UTC
(
hide
)
Description:
Patch for opac-passwd.pl and opac-renew.pl
Filename:
MIME Type:
Creator:
Chris Cormack
Created:
2009-08-12 18:06:00 UTC
Size:
1.39 KB
patch
obsolete
>From 9613120c940727c676865c4da4252c6b7a6fa95b Mon Sep 17 00:00:00 2001 >From: Garry Collum <gcollum@gmail.com> >Date: Wed, 12 Aug 2009 14:07:15 -0400 >Subject: [PATCH] Bug 2505: Enable warnings in opac-passwd.pl an opac-renew.pl. >Content-Type: text/plain; charset="utf-8" > >Fixed resulting warnings in opac-renew.pl. >--- > opac/opac-passwd.pl | 1 + > opac/opac-renew.pl | 5 ++++- > 2 files changed, 5 insertions(+), 1 deletions(-) > >diff --git a/opac/opac-passwd.pl b/opac/opac-passwd.pl >index 491cce0..ca502ab 100755 >--- a/opac/opac-passwd.pl >+++ b/opac/opac-passwd.pl >@@ -19,6 +19,7 @@ > # Suite 330, Boston, MA 02111-1307 USA > > use strict; >+use warnings; > > use CGI; > >diff --git a/opac/opac-renew.pl b/opac/opac-renew.pl >index 88bbacb..205f48a 100755 >--- a/opac/opac-renew.pl >+++ b/opac/opac-renew.pl >@@ -4,6 +4,9 @@ > # adapted for use in the hlt opac by finlay@katipo.co.nz 29/11/2002 > #script to renew items from the web > >+use strict; >+use warnings; >+ > use CGI; > use C4::Circulation; > use C4::Auth; >@@ -21,7 +24,7 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user( > } > ); > my @items = $query->param('item'); >-my $borrowernumber = $query->param('borrowernumber') || $query->param('bornum'); >+$borrowernumber = $query->param('borrowernumber') || $query->param('bornum'); > my $opacrenew = C4::Context->preference("OpacRenewalAllowed"); > > for my $itemnumber ( @items ) { >-- >1.5.6.5 >
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 2505
:
686
|
687
|
688
|
689
|
690
|
691
|
692
|
693
|
694
|
695
|
696
|
697
|
698
|
699
|
700
|
701
|
702
|
703
|
704
|
705
|
706
|
707
|
708
|
709
|
2223
|
3884
|
4574
|
8209
|
8317
|
8322
|
8373
|
9034
|
9035
|
9036
|
34442