From 21a50434d9db8d8d8b646846e55ae37816a0351a Mon Sep 17 00:00:00 2001 From: Garry Collum Date: Tue, 2 Feb 2010 17:02:00 -0500 Subject: [PATCH] Bug 2505: Enables warnings in the opac error pages. No warnings were generated in the logs, except that the template for 402 does not exist. I will follow this up with another patch. Signed-off-by: Galen Charlton --- 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(+) diff --git a/opac/errors/400.pl b/opac/errors/400.pl index 16c169c06c..b48917e907 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 c6573f4b7f..ec1b8c2a0f 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 8620f88cb6..595928b869 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 d223ffb6da..e4de04c243 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 0c5408c99d..2edfdbfeb1 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 d3c5ce1584..227dd37acb 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; -- 2.20.1