Bug 2505: Enables warnings in the opac error pages.
authorGarry Collum <gcollum@gmail.com>
Tue, 2 Feb 2010 22:02:00 +0000 (17:02 -0500)
committerGalen Charlton <gmcharlt@gmail.com>
Tue, 2 Feb 2010 23:42:36 +0000 (18:42 -0500)
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 <gmcharlt@gmail.com>
opac/errors/400.pl
opac/errors/401.pl
opac/errors/402.pl
opac/errors/403.pl
opac/errors/404.pl
opac/errors/500.pl

index 16c169c..b48917e 100755 (executable)
@@ -17,6 +17,8 @@
 
 
 use strict;
+use warnings;
+
 use CGI;
 use C4::Auth;
 use C4::Output;
index c6573f4..ec1b8c2 100755 (executable)
@@ -17,6 +17,8 @@
 
 
 use strict;
+use warnings;
+
 use CGI;
 use C4::Auth;
 use C4::Output;
index 8620f88..595928b 100755 (executable)
@@ -17,6 +17,8 @@
 
 
 use strict;
+use warnings;
+
 use CGI;
 use C4::Auth;
 use C4::Output;
index d223ffb..e4de04c 100755 (executable)
@@ -17,6 +17,8 @@
 
 
 use strict;
+use warnings;
+
 use CGI;
 use C4::Auth;
 use C4::Output;
index 0c5408c..2edfdbf 100755 (executable)
@@ -17,6 +17,8 @@
 
 
 use strict;
+use warnings;
+
 use CGI;
 use C4::Auth;
 use C4::Output;
index d3c5ce1..227dd37 100755 (executable)
@@ -17,6 +17,8 @@
 
 
 use strict;
+use warnings;
+
 use CGI;
 use C4::Auth;
 use C4::Output;