From: Colin Campbell Date: Fri, 23 Mar 2012 12:29:02 +0000 (+0000) Subject: Bug 7562 Add strict & warnings to KohaDates Plugin X-Git-Url: http://git.rot13.org/?p=koha.git;a=commitdiff_plain;h=fab0b80ddbcb8528c3ce661942c933eabc91533b 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 --- 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;