Bug 7562 Add strict & warnings to KohaDates Plugin
authorColin Campbell <colin.campbell@ptfs-europe.com>
Fri, 23 Mar 2012 12:29:02 +0000 (12:29 +0000)
committerPaul Poulain <paul.poulain@biblibre.com>
Tue, 3 Apr 2012 16:11:46 +0000 (18:11 +0200)
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
http://bugs.koha-community.org/show_bug.cgi?id=7814
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
Koha/Template/Plugin/KohaDates.pm

index 6a4a882..a1bb40a 100644 (file)
@@ -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;