[Koha-patches] [PATCH] Fix compile time warning in member.pl

Colin Campbell colin.campbell at ptfs-europe.com
Mon Sep 27 11:59:25 CEST 2010


variable to declared twice
---
 members/member.pl |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/members/member.pl b/members/member.pl
index dde29eb..755a051 100755
--- a/members/member.pl
+++ b/members/member.pl
@@ -99,7 +99,7 @@ if ($results){
 	$count =scalar(@$results);
 }
 my @resultsdata;
-my $to=($count>$to?$to:$count);
+$to=($count>$to?$to:$count);
 my $index=$from;
 foreach my $borrower(@$results[$from..$to-1]){
   #find out stats
-- 
1.7.2.3



More information about the Koha-patches mailing list