Bugzilla – Attachment 693 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 reserveratios.pl
0015-Bug-2505-Enables-warnings-in-reserveratios.pl.patch (text/plain), 974 bytes, created by
Chris Cormack
on 2009-08-20 23:27:00 UTC
(
hide
)
Description:
Patch for reserveratios.pl
Filename:
MIME Type:
Creator:
Chris Cormack
Created:
2009-08-20 23:27:00 UTC
Size:
974 bytes
patch
obsolete
>From a0bfa696c73f8d2da66a079792599e7b8816bc96 Mon Sep 17 00:00:00 2001 >From: Garry Collum <gcollum@gmail.com> >Date: Thu, 20 Aug 2009 19:25:06 -0400 >Subject: [PATCH] Bug 2505: Enables warnings in reserveratios.pl >Content-Type: text/plain; charset="utf-8" > >Also fixes resulting warnings. >--- > circ/reserveratios.pl | 4 +++- > 1 files changed, 3 insertions(+), 1 deletions(-) > >diff --git a/circ/reserveratios.pl b/circ/reserveratios.pl >index b28dc32..f44966c 100755 >--- a/circ/reserveratios.pl >+++ b/circ/reserveratios.pl >@@ -19,6 +19,8 @@ > # Suite 330, Boston, MA 02111-1307 USA > > use strict; >+use warnings; >+ > use C4::Context; > use C4::Output; > use CGI; >@@ -28,7 +30,7 @@ use C4::Debug; > use Date::Calc qw/Today Add_Delta_YM/; > > my $input = new CGI; >-my $order = $input->param('order'); >+my $order = $input->param('order') || ''; > my $startdate = $input->param('from'); > my $enddate = $input->param('to'); > my $ratio = $input->param('ratio'); >-- >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