[Koha-cvs] CVS: koha/C4/Circulation Renewals2.pm,1.8,1.9
Chris Cormack
rangi at users.sourceforge.net
Thu May 1 00:55:58 CEST 2003
Update of /cvsroot/koha/koha/C4/Circulation
In directory sc8-pr-cvs1:/tmp/cvs-serv21536/C4/Circulation
Modified Files:
Renewals2.pm
Log Message:
renewbook is used by renewscript.pl
Making sure characters are escaped in the database insert
Index: Renewals2.pm
===================================================================
RCS file: /cvsroot/koha/koha/C4/Circulation/Renewals2.pm,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -r1.8 -r1.9
*** Renewals2.pm 13 Oct 2002 11:37:41 -0000 1.8
--- Renewals2.pm 30 Apr 2003 22:55:54 -0000 1.9
***************
*** 225,231 ****
(borrowernumber,accountno,date,amount,description,accounttype,amountoutstanding,itemnumber)
values
! ('$bornum','$accountno',now(),$charge,'Renewal of Rental Item $item->{'title'} $item->{'barcode'}','Rent',$charge,'$itemno')";
$sth=$dbh->prepare($account);
! $sth->execute;
$sth->finish;
# print $account;
--- 225,232 ----
(borrowernumber,accountno,date,amount,description,accounttype,amountoutstanding,itemnumber)
values
! (?,?,now(),?,?,?,?,?)";
$sth=$dbh->prepare($account);
! $sth->execute($bornum,$accountno,$charge,"Renewal of Rental Item $item->{'title'} $item->{'barcode'}",
! 'Rent',$charge,$itemno)";
$sth->finish;
# print $account;
More information about the Koha-cvs
mailing list