[Koha-patches] [PATCH 2/2] [SIGNED-OFF] Remove redundant variable

Nicole C. Engard nengard at bywatersolutions.com
Mon Apr 18 05:25:25 CEST 2011


From: Colin Campbell <colin.campbell at ptfs-europe.com>

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 at bywatersolutions.com>
---
 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.2.3



More information about the Koha-patches mailing list