From: Garry Collum Date: Tue, 2 Feb 2010 22:02:00 +0000 (-0500) Subject: Bug 2505: Enables warnings in the opac error pages. X-Git-Tag: v3.02.00-alpha~28 X-Git-Url: http://git.rot13.org/?a=commitdiff_plain;ds=sidebyside;h=21a50434d9db8d8d8b646846e55ae37816a0351a;p=koha.git 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 --- 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;