From 03c57e835e1aa08c1cdeb2162afbd1789f5e4951 Mon Sep 17 00:00:00 2001 From: Garry Collum Date: Sat, 8 Aug 2009 14:35:09 -0400 Subject: [PATCH] Bug 2505: Enabled warnings in opac_ISBDdetail.pl, opac-modrequest.pl, and opac-tags_subject.pl. Content-Type: text/plain; charset="utf-8" Enabling warnings in these files did not generate any warnings in the logs when tested. --- opac/opac-ISBDdetail.pl | 2 ++ opac/opac-modrequest.pl | 2 ++ opac/opac-tags_subject.pl | 2 ++ 3 files changed, 6 insertions(+), 0 deletions(-) diff --git a/opac/opac-ISBDdetail.pl b/opac/opac-ISBDdetail.pl index d60f8fc..4706fde 100755 --- a/opac/opac-ISBDdetail.pl +++ b/opac/opac-ISBDdetail.pl @@ -42,6 +42,8 @@ the items attached to the biblio =cut use strict; +use warnings; + use C4::Auth; use C4::Context; use C4::Output; diff --git a/opac/opac-modrequest.pl b/opac/opac-modrequest.pl index 01b45f1..bada04d 100755 --- a/opac/opac-modrequest.pl +++ b/opac/opac-modrequest.pl @@ -23,6 +23,8 @@ # Suite 330, Boston, MA 02111-1307 USA use strict; +use warnings; + use CGI; use C4::Output; use C4::Reserves; diff --git a/opac/opac-tags_subject.pl b/opac/opac-tags_subject.pl index 84e8fc3..5836f70 100755 --- a/opac/opac-tags_subject.pl +++ b/opac/opac-tags_subject.pl @@ -25,6 +25,8 @@ TODO :: Description here =cut use strict; +use warnings; + use C4::Auth; use C4::Context; use C4::Output; -- 1.5.6.5