[Koha-cvs] CVS: koha member.pl,1.12,1.13

Mike Hansen wolfpac444 at users.sourceforge.net
Thu Aug 7 14:37:23 CEST 2003


Update of /cvsroot/koha/koha
In directory sc8-pr-cvs1:/tmp/cvs-serv1072/koha

Modified Files:
	member.pl 
Log Message:
Fixed Bug #558.


Index: member.pl
===================================================================
RCS file: /cvsroot/koha/koha/member.pl,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -r1.12 -r1.13
*** member.pl	19 Jun 2003 16:06:59 -0000	1.12
--- member.pl	7 Aug 2003 12:37:21 -0000	1.13
***************
*** 67,70 ****
--- 67,71 ----
  
  my @resultsdata;
+ my $background = 0;
  for (my $i=0; $i < $count; $i++){
    #find out stats
***************
*** 72,75 ****
--- 73,77 ----
  
    my %row = (
+   	background => $background,
          borrowernumber => $results->[$i]{'borrowernumber'},
          cardnumber => $results->[$i]{'cardnumber'},
***************
*** 82,85 ****
--- 84,88 ----
          fines => $fines,
          borrowernotes => $results->[$i]{'borrowernotes'});
+   if ( $background ) { $background = 0; } else {$background = 1; }
    push(@resultsdata, \%row);
  }





More information about the Koha-cvs mailing list