[Koha-patches] [PATCH] Bug 2505: Enabled warnings in opac_ISBDdetail.pl, opac-modrequest.pl, and opac-tags_subject.pl.

Garry Collum gcollum at gmail.com
Sat Aug 8 20:37:26 CEST 2009


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




More information about the Koha-patches mailing list