Bugzilla – Attachment 704 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]
Proposed patch for opac/errors/400.pl, 401.pl, 402.pl, 403.pl, 404.pl and 500.pl
0007-Bug-2505-Enables-warnings-in-the-opac-error-pages.patch (text/plain), 1.96 KB, created by
Chris Cormack
on 2010-02-02 21:53:00 UTC
(
hide
)
Description:
Proposed patch for opac/errors/400.pl, 401.pl, 402.pl, 403.pl, 404.pl and 500.pl
Filename:
MIME Type:
Creator:
Chris Cormack
Created:
2010-02-02 21:53:00 UTC
Size:
1.96 KB
patch
obsolete
>From 88c11a3c80879bb8487ba7edfc51b10e34996058 Mon Sep 17 00:00:00 2001 >From: Garry Collum <gcollum@gmail.com> >Date: Tue, 2 Feb 2010 16:54:16 -0500 >Subject: [PATCH] Bug 2505: Enables warnings in the opac error pages. >Content-Type: text/plain; charset="utf-8" > >No warnings were generated in the logs, except that the template for 402 does not exist. I will follow this up with another patch. >--- > opac/errors/400.pl | 2 ++ > opac/errors/401.pl | 2 ++ > opac/errors/402.pl | 2 ++ > opac/errors/403.pl | 2 ++ > opac/errors/404.pl | 2 ++ > opac/errors/500.pl | 2 ++ > 6 files changed, 12 insertions(+), 0 deletions(-) > >diff --git a/opac/errors/400.pl b/opac/errors/400.pl >index 16c169c..b48917e 100755 >--- a/opac/errors/400.pl >+++ b/opac/errors/400.pl >@@ -17,6 +17,8 @@ > > > use strict; >+use warnings; >+ > use CGI; > use C4::Auth; > use C4::Output; >diff --git a/opac/errors/401.pl b/opac/errors/401.pl >index c6573f4..ec1b8c2 100755 >--- a/opac/errors/401.pl >+++ b/opac/errors/401.pl >@@ -17,6 +17,8 @@ > > > use strict; >+use warnings; >+ > use CGI; > use C4::Auth; > use C4::Output; >diff --git a/opac/errors/402.pl b/opac/errors/402.pl >index 8620f88..595928b 100755 >--- a/opac/errors/402.pl >+++ b/opac/errors/402.pl >@@ -17,6 +17,8 @@ > > > use strict; >+use warnings; >+ > use CGI; > use C4::Auth; > use C4::Output; >diff --git a/opac/errors/403.pl b/opac/errors/403.pl >index d223ffb..e4de04c 100755 >--- a/opac/errors/403.pl >+++ b/opac/errors/403.pl >@@ -17,6 +17,8 @@ > > > use strict; >+use warnings; >+ > use CGI; > use C4::Auth; > use C4::Output; >diff --git a/opac/errors/404.pl b/opac/errors/404.pl >index 0c5408c..2edfdbf 100755 >--- a/opac/errors/404.pl >+++ b/opac/errors/404.pl >@@ -17,6 +17,8 @@ > > > use strict; >+use warnings; >+ > use CGI; > use C4::Auth; > use C4::Output; >diff --git a/opac/errors/500.pl b/opac/errors/500.pl >index d3c5ce1..227dd37 100755 >--- a/opac/errors/500.pl >+++ b/opac/errors/500.pl >@@ -17,6 +17,8 @@ > > > use strict; >+use warnings; >+ > use CGI; > use C4::Auth; > use C4::Output; >-- >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