[Koha-patches] [PATCH] Bug 7562 Add strict & warnings to KohaDates Plugin
Colin Campbell
colin.campbell at ptfs-europe.com
Fri Mar 23 15:03:41 CET 2012
---
Koha/Template/Plugin/KohaDates.pm | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/Koha/Template/Plugin/KohaDates.pm b/Koha/Template/Plugin/KohaDates.pm
index 749f6e2..badfb4f 100644
--- a/Koha/Template/Plugin/KohaDates.pm
+++ b/Koha/Template/Plugin/KohaDates.pm
@@ -17,6 +17,9 @@ package Koha::Template::Plugin::KohaDates;
# with Koha; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+use strict;
+use warnings;
+
use Template::Plugin::Filter;
use base qw( Template::Plugin::Filter );
@@ -28,4 +31,4 @@ sub filter {
return $date->output("syspref");
}
-1;
\ No newline at end of file
+1;
--
1.7.7.6
More information about the Koha-patches
mailing list