Bugzilla – Attachment 687 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-serial-issues.pl and opac-showmarc.pl
0014-Bug-2505-Enabled-warnings-in-opac-serial-issues.pl.patch (text/plain), 1.37 KB, created by
Chris Cormack
on 2009-08-09 17:42:00 UTC
(
hide
)
Description:
Patch for opac-serial-issues.pl and opac-showmarc.pl
Filename:
MIME Type:
Creator:
Chris Cormack
Created:
2009-08-09 17:42:00 UTC
Size:
1.37 KB
patch
obsolete
>From 1c025523000e3704f8a1e1029126aab7d139f9be Mon Sep 17 00:00:00 2001 >From: Garry Collum <gcollum@gmail.com> >Date: Sun, 9 Aug 2009 13:42:20 -0400 >Subject: [PATCH] Bug 2505: Enabled warnings in opac-serial-issues.pl and opac-showmarc.pl >Content-Type: text/plain; charset="utf-8" > >Enabled warnings and also fixed resulting 'unintialized value' warning in opac-showmarc.pl. >--- > opac/opac-serial-issues.pl | 2 ++ > opac/opac-showmarc.pl | 3 ++- > 2 files changed, 4 insertions(+), 1 deletions(-) > >diff --git a/opac/opac-serial-issues.pl b/opac/opac-serial-issues.pl >index 4935e29..8993d7f 100755 >--- a/opac/opac-serial-issues.pl >+++ b/opac/opac-serial-issues.pl >@@ -19,6 +19,8 @@ > > > use strict; >+use warnings; >+ > use CGI; > use C4::Auth; > use C4::Koha; >diff --git a/opac/opac-showmarc.pl b/opac/opac-showmarc.pl >index b38d77e..2024bcb 100755 >--- a/opac/opac-showmarc.pl >+++ b/opac/opac-showmarc.pl >@@ -25,6 +25,7 @@ > # Suite 330, Boston, MA 02111-1307 USA > > use strict; >+use warnings; > > # standard or CPAN modules used > use CGI; >@@ -41,7 +42,7 @@ use XML::LibXML; > my $input = new CGI; > my $biblionumber = $input->param('id'); > my $importid = $input->param('importid'); >-my $view = $input->param('viewas'); >+my $view = $input->param('viewas') || 'marc'; > > my ( $template, $loggedinuser, $cookie ) = get_template_and_user({ > template_name => "opac-showmarc.tmpl", >-- >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