Remove redundant variable
authorColin Campbell <colin.campbell@ptfs-europe.com>
Mon, 18 Apr 2011 03:25:25 +0000 (23:25 -0400)
committerChris Cormack <chrisc@catalyst.net.nz>
Tue, 19 Apr 2011 01:30:44 +0000 (13:30 +1200)
The 'first' element in the structure PrepareSerialsData
was only used in the opac template. Remove assignment
as it is now obsolete (and potentially confusing )

Signed-off-by: Nicole C. Engard <nengard@bywatersolutions.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
C4/Serials.pm

index 32c9bcb..1f8c170 100644 (file)
@@ -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;
 }