Bugzilla – Attachment 699 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 members/setstatus.pl and members/members-home.pl
0012-Bug-2505-Added-warnings-to-members-members-home.pl.patch (text/plain), 1.50 KB, created by
Chris Cormack
on 2009-09-24 15:42:00 UTC
(
hide
)
Description:
Patch for members/setstatus.pl and members/members-home.pl
Filename:
MIME Type:
Creator:
Chris Cormack
Created:
2009-09-24 15:42:00 UTC
Size:
1.50 KB
patch
obsolete
>From cc2230cbeea1448469d0b4c2cf57c3b452631a07 Mon Sep 17 00:00:00 2001 >From: Garry Collum <gcollum@gmail.com> >Date: Thu, 24 Sep 2009 11:45:53 -0400 >Subject: [PATCH] Bug 2505: Added warnings to members/members-home.pl and members/setstatus.pl >Content-Type: text/plain; charset="utf-8" > >--- > members/members-home.pl | 2 ++ > members/setstatus.pl | 5 +++-- > 2 files changed, 5 insertions(+), 2 deletions(-) > >diff --git a/members/members-home.pl b/members/members-home.pl >index 32531c2..2755452 100755 >--- a/members/members-home.pl >+++ b/members/members-home.pl >@@ -16,6 +16,8 @@ > # Suite 330, Boston, MA 02111-1307 USA > > use strict; >+use warnings; >+ > use CGI; > use C4::Auth; > use C4::Output; >diff --git a/members/setstatus.pl b/members/setstatus.pl >index c2b7a38..fc27c17 100755 >--- a/members/setstatus.pl >+++ b/members/setstatus.pl >@@ -23,6 +23,7 @@ > # Suite 330, Boston, MA 02111-1307 USA > > use strict; >+use warnings; > > use CGI; > use C4::Context; >@@ -36,11 +37,11 @@ my $flagsrequired; > $flagsrequired->{borrowers}=1; > my ($loggedinuser, $cookie, $sessionID) = checkauth($input, 0, $flagsrequired); > >-my $destination = $input->param("destination"); >+my $destination = $input->param("destination") || ''; > my $cardnumber = $input->param("cardnumber"); > my $borrowernumber=$input->param('borrowernumber'); > my $status = $input->param('status'); >-my $reregistration = $input->param('reregistration'); >+my $reregistration = $input->param('reregistration') || ''; > > my $dbh = C4::Context->dbh; > my $dateexpiry; >-- >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