[Koha-cvs] CVS: koha insertdata.pl,1.19,1.20
Paul POULAIN
tipaul at users.sourceforge.net
Mon May 19 17:07:07 CEST 2003
Update of /cvsroot/koha/koha
In directory sc8-pr-cvs1:/tmp/cvs-serv4651
Modified Files:
insertdata.pl
Log Message:
inserting some missing '
Index: insertdata.pl
===================================================================
RCS file: /cvsroot/koha/koha/insertdata.pl,v
retrieving revision 1.19
retrieving revision 1.20
diff -C2 -r1.19 -r1.20
*** insertdata.pl 15 May 2003 12:25:04 -0000 1.19
--- insertdata.pl 19 May 2003 15:07:05 -0000 1.20
***************
*** 71,75 ****
$data{'dateofbirth'}=format_date_in_iso($data{'dateofbirth'});
$data{'joining'}=format_date_in_iso($data{'joining'});
! $data{'expiry'}=format_date_in_iso($data{'expiry'});
$query="insert into borrowers (title,expiry,cardnumber,sex,ethnotes,streetaddress,faxnumber,
firstname,altnotes,dateofbirth,contactname,emailaddress,textmessaging,dateenrolled,streetcity,
--- 71,75 ----
$data{'dateofbirth'}=format_date_in_iso($data{'dateofbirth'});
$data{'joining'}=format_date_in_iso($data{'joining'});
! $data{'expiry'}=format_date_in_iso($data{'expiry'});
$query="insert into borrowers (title,expiry,cardnumber,sex,ethnotes,streetaddress,faxnumber,
firstname,altnotes,dateofbirth,contactname,emailaddress,textmessaging,dateenrolled,streetcity,
***************
*** 81,85 ****
'$data{'phoneday'}','$data{'categorycode'}','$data{'city'}','$data{'area'}','$data{'phone'}',
'$data{'borrowernotes'}','$data{'altphone'}','$data{'surname'}','$data{'initials'}',
! '$data{'ethnicity'}','$data{'borrowernumber'}','$data{'streetaddress'}','$data{'branchcode'}',$data{'zipcode'},$data{'homezipcode'})";
}
# ok if its an adult (type) it may have borrowers that depend on it as a guarantor
--- 81,86 ----
'$data{'phoneday'}','$data{'categorycode'}','$data{'city'}','$data{'area'}','$data{'phone'}',
'$data{'borrowernotes'}','$data{'altphone'}','$data{'surname'}','$data{'initials'}',
! '$data{'ethnicity'}','$data{'borrowernumber'}','$data{'streetaddress'}','$data{'branchcode'}','$data{'zipcode'}','$data{'homezipcode'}')";
! warn "".$query;
}
# ok if its an adult (type) it may have borrowers that depend on it as a guarantor
More information about the Koha-cvs
mailing list