[Koha-cvs] CVS: koha/C4 Accounts2.pm,1.22,1.22.4.1
Paul POULAIN
tipaul at users.sourceforge.net
Thu May 19 23:27:08 CEST 2005
Update of /cvsroot/koha/koha/C4
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23718/C4
Modified Files:
Tag: rel_2_2
Accounts2.pm
Log Message:
removing buggy string quoting
Index: Accounts2.pm
===================================================================
RCS file: /cvsroot/koha/koha/C4/Accounts2.pm,v
retrieving revision 1.22
retrieving revision 1.22.4.1
diff -C2 -r1.22 -r1.22.4.1
*** Accounts2.pm 9 Dec 2003 15:03:00 -0000 1.22
--- Accounts2.pm 19 May 2005 21:26:55 -0000 1.22.4.1
***************
*** 302,310 ****
}
if ($itemnum ne ''){
- #FIXME to use ? before uncommenting
- # my $sth=$dbh->prepare("Select * from items where barcode='$itemnum'");
- # $sth->execute;
- # my $data=$sth->fetchrow_hashref;
- # $sth->finish;
$desc.=" ".$itemnum;
my $sth=$dbh->prepare("INSERT INTO accountlines
--- 302,305 ----
***************
*** 314,318 ****
$sth->execute($bornum, $accountno, $amount, $desc, $type, $amountleft, $itemnum);
} else {
- $desc=$dbh->quote($desc);
my $sth=$dbh->prepare("INSERT INTO accountlines
(borrowernumber, accountno, date, amount, description, accounttype, amountoutstanding)
--- 309,312 ----
More information about the Koha-cvs
mailing list