From 475b46278b6446bf56960a815cc37cfe0fac455f Mon Sep 17 00:00:00 2001 From: Colin Campbell Date: Fri, 23 Mar 2012 12:29:02 +0000 Subject: [PATCH] [SIGNED-OFF] Bug 7562 Add strict & warnings to KohaDates Plugin Signed-off-by: Katrin Fischer http://bugs.koha-community.org/show_bug.cgi?id=7814 --- 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 6a4a882..a1bb40a 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; -- 1.7.5.4