From 3fb9bacc34ec4fcedac484afe1b4a53a44bfab77 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20V=C3=A9ron?= Date: Sun, 20 Sep 2015 23:46:12 +0200 Subject: [PATCH] [Follow-up] Bug 14879 - Remove C4::Dates from catalogue/detail.pl Remove forbidden patterns (tab) to pass QA tools --- catalogue/detail.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/catalogue/detail.pl b/catalogue/detail.pl index ca3497f..b826f49 100755 --- a/catalogue/detail.pl +++ b/catalogue/detail.pl @@ -205,8 +205,8 @@ foreach my $item (@items) { $item->{imageurl} = defined $item->{itype} ? getitemtypeimagelocation('intranet', $itemtypes->{ $item->{itype} }{imageurl}) : ''; - foreach (qw(datelastseen onloan)) { - $item->{$_} = output_pref({ dt => dt_from_string( $item->{$_} ), dateonly => 1 }); + foreach (qw(datelastseen onloan)) { + $item->{$_} = output_pref({ dt => dt_from_string( $item->{$_} ), dateonly => 1 }); } $item->{datedue} = format_sqldatetime($item->{datedue}); # item damaged, lost, withdrawn loops -- 1.7.10.4