From 6429f2423033fdc28b61fa462ccc96728abddbcc Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Fri, 22 Mar 2013 09:52:18 +0100 Subject: [PATCH] Bug 9479: FIX conflict with Bug 9014 3rd parameters of output_pref is already used --- Koha/Template/Plugin/KohaDates.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Koha/Template/Plugin/KohaDates.pm b/Koha/Template/Plugin/KohaDates.pm index 884c3e5..7c5ee68 100644 --- a/Koha/Template/Plugin/KohaDates.pm +++ b/Koha/Template/Plugin/KohaDates.pm @@ -36,7 +36,7 @@ sub filter { return "" unless $text; $config->{with_hours} //= 0; my $dt = dt_from_string( $text, 'iso' ); - return output_pref( $dt, undef, !$config->{with_hours} ); + return output_pref( $dt, undef, undef, !$config->{with_hours} ); } 1; -- 1.7.10.4