From 5da288d9b6d76c1b2afb2298fd02881212441dbe Mon Sep 17 00:00:00 2001 From: Colin Campbell Date: Fri, 15 Apr 2011 12:52:31 +0100 Subject: [PATCH] [Bug 6195 - Supplemental] Remove redundant variable Content-Type: text/plain; charset="utf-8" The 'first' element in the structure PrepareSerialsData was only used in the opac template. Remove assignment as it is now obsolete (and potentially confusing ) --- C4/Serials.pm | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/C4/Serials.pm b/C4/Serials.pm index 32c9bcb..1f8c170 100644 --- a/C4/Serials.pm +++ b/C4/Serials.pm @@ -441,7 +441,6 @@ sub PrepareSerialsData { foreach my $key ( sort { $b cmp $a } keys %tmpresults ) { push @res, $tmpresults{$key}; } - $res[0]->{'first'} = 1; return \@res; } -- 1.7.4.2