[Koha-cvs] CVS: koha detail.pl,1.20,1.21 insertdata.pl,1.13,1.14

Paul POULAIN tipaul at users.sourceforge.net
Fri Apr 4 10:46:41 CEST 2003


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

Modified Files:
	detail.pl insertdata.pl 
Log Message:
last commits before 1.9.1

Index: detail.pl
===================================================================
RCS file: /cvsroot/koha/koha/detail.pl,v
retrieving revision 1.20
retrieving revision 1.21
diff -C2 -r1.20 -r1.21
*** detail.pl	10 Mar 2003 15:16:54 -0000	1.20
--- detail.pl	4 Apr 2003 08:46:37 -0000	1.21
***************
*** 34,39 ****
  
  my $biblionumber=$query->param('bib');
- #my $type='intra';	# FIXME - There's already a $type in this scope
- 
  
  # change back when ive fixed request.pl
--- 34,37 ----

Index: insertdata.pl
===================================================================
RCS file: /cvsroot/koha/koha/insertdata.pl,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -r1.13 -r1.14
*** insertdata.pl	26 Mar 2003 04:10:55 -0000	1.13
--- insertdata.pl	4 Apr 2003 08:46:38 -0000	1.14
***************
*** 52,57 ****
  $sth->execute;
  if (my $data=$sth->fetchrow_hashref){
!   $data{'dateofbirth'}=format_date_in_iso($data{'dateofbirth'});
!   $data{'joining'}=format_date_in_iso($data{'joining'});
    $query="update borrowers set title='$data{'title'}',expiry='$data{'expiry'}',
    cardnumber='$data{'cardnumber'}',sex='$data{'sex'}',ethnotes='$data{'ethnicnotes'}',
--- 52,57 ----
  $sth->execute;
  if (my $data=$sth->fetchrow_hashref){
!   $data{'dateofbirth'}=format_date($data{'dateofbirth'});
!   $data{'joining'}=format_date($data{'joining'});
    $query="update borrowers set title='$data{'title'}',expiry='$data{'expiry'}',
    cardnumber='$data{'cardnumber'}',sex='$data{'sex'}',ethnotes='$data{'ethnicnotes'}',
***************
*** 68,73 ****
  
  }else{
!   $data{'dateofbirth'}=format_date_in_iso($data{'dateofbirth'});
!   $data{'joining'}=format_date_in_iso($data{'joining'});
    $query="insert into borrowers (title,expiry,cardnumber,sex,ethnotes,streetaddress,faxnumber,
    firstname,altnotes,dateofbirth,contactname,emailaddress,textmessaging,dateenrolled,streetcity,
--- 68,73 ----
  
  }else{
!   $data{'dateofbirth'}=format_date($data{'dateofbirth'});
!   $data{'joining'}=format_date($data{'joining'});
    $query="insert into borrowers (title,expiry,cardnumber,sex,ethnotes,streetaddress,faxnumber,
    firstname,altnotes,dateofbirth,contactname,emailaddress,textmessaging,dateenrolled,streetcity,





More information about the Koha-cvs mailing list