[Koha-cvs] koha/members memberentry.pl [rel_3_0]

Bruno Toumi btoumi at ouestprovence.fr
Thu Dec 21 17:43:06 CET 2006


CVSROOT:	/sources/koha
Module name:	koha
Branch:		rel_3_0
Changes by:	Bruno Toumi <btoumi>	06/12/21 16:43:06

Modified files:
	members        : memberentry.pl 

Log message:
	bug fix in wrong test condition to recover zipcode and city of borrower (in step2)

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/members/memberentry.pl?cvsroot=koha&only_with_tag=rel_3_0&r1=1.38.2.19&r2=1.38.2.20

Patches:
Index: memberentry.pl
===================================================================
RCS file: /sources/koha/koha/members/memberentry.pl,v
retrieving revision 1.38.2.19
retrieving revision 1.38.2.20
diff -u -b -r1.38.2.19 -r1.38.2.20
--- memberentry.pl	21 Dec 2006 14:47:15 -0000	1.38.2.19
+++ memberentry.pl	21 Dec 2006 16:43:06 -0000	1.38.2.20
@@ -1,5 +1,5 @@
 #!/usr/bin/perl
-# $Id: memberentry.pl,v 1.38.2.19 2006/12/21 14:47:15 btoumi Exp $
+# $Id: memberentry.pl,v 1.38.2.20 2006/12/21 16:43:06 btoumi Exp $
 
 # Copyright 2006 SAN OUEST PROVENCE et Paul POULAIN
 #
@@ -145,7 +145,7 @@
 # STEP 1
 	if ($step eq 1) {
 		###############test to take the right zipcode and city name ##############
-		if ( $guarantorid eq ''){
+		if ( $guarantorid eq '0'){
 			my ($borrower_city,$borrower_zipcode)=&getzipnamecity($select_city);
 			$data{'city'}= $borrower_city;
 			$data{'zipcode'}=$borrower_zipcode;





More information about the Koha-cvs mailing list