[Koha-patches] [PATCH] Bug 2505: Enables warnings in opac-MARCdetail.pl and opac-authoritiesdetail.pl

Garry Collum gcollum at gmail.com
Mon Feb 15 23:20:17 CET 2010


No resulting warnings after warnings were turned on.
---
 opac/opac-MARCdetail.pl        |    2 ++
 opac/opac-authoritiesdetail.pl |    2 ++
 2 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/opac/opac-MARCdetail.pl b/opac/opac-MARCdetail.pl
index 940104b..849c564 100755
--- a/opac/opac-MARCdetail.pl
+++ b/opac/opac-MARCdetail.pl
@@ -40,6 +40,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-authoritiesdetail.pl b/opac/opac-authoritiesdetail.pl
index 430f0f2..8df9d47 100755
--- a/opac/opac-authoritiesdetail.pl
+++ b/opac/opac-authoritiesdetail.pl
@@ -38,6 +38,8 @@ parameters tables.
 =cut
 
 use strict;
+use warnings;
+
 use C4::AuthoritiesMarc;
 use C4::Auth;
 use C4::Context;
-- 
1.5.6.5




More information about the Koha-patches mailing list