From fab0b80ddbcb8528c3ce661942c933eabc91533b Mon Sep 17 00:00:00 2001 From: Colin Campbell Date: Fri, 23 Mar 2012 12:29:02 +0000 Subject: [PATCH] Bug 7562 Add strict & warnings to KohaDates Plugin Signed-off-by: Katrin Fischer http://bugs.koha-community.org/show_bug.cgi?id=7814 Signed-off-by: Paul Poulain --- Koha/Template/Plugin/KohaDates.pm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Koha/Template/Plugin/KohaDates.pm b/Koha/Template/Plugin/KohaDates.pm index 6a4a8824f1..a1bb40a38d 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 ); use warnings; @@ -30,4 +33,4 @@ sub filter { return $date->output("syspref"); } -1; \ No newline at end of file +1; -- 2.39.5