[Koha-cvs] CVS: koha/C4 Catalogue.pm,1.35,1.36
Paul POULAIN
tipaul at users.sourceforge.net
Mon Nov 24 17:24:27 CET 2003
Update of /cvsroot/koha/koha/C4
In directory sc8-pr-cvs1:/tmp/cvs-serv22451/C4
Modified Files:
Catalogue.pm
Log Message:
execute($var) with ? bugfix
Index: Catalogue.pm
===================================================================
RCS file: /cvsroot/koha/koha/C4/Catalogue.pm,v
retrieving revision 1.35
retrieving revision 1.36
diff -C2 -r1.35 -r1.36
*** Catalogue.pm 10 Jul 2003 10:19:21 -0000 1.35
--- Catalogue.pm 24 Nov 2003 16:24:24 -0000 1.36
***************
*** 441,448 ****
my ($bi,$bib)=@_;
my $dbh = C4::Context->dbh;
! my $query="Select ordernumber from aqorders where biblionumber=$bib and
! biblioitemnumber='$bi'";
my $sth=$dbh->prepare($query);
! $sth->execute;
# FIXME - Use fetchrow_array(), since we're only interested in the one
# value.
--- 441,447 ----
my ($bi,$bib)=@_;
my $dbh = C4::Context->dbh;
! my $query="Select ordernumber from aqorders where biblionumber=? and biblioitemnumber=?";
my $sth=$dbh->prepare($query);
! $sth->execute($bib,$bi);
# FIXME - Use fetchrow_array(), since we're only interested in the one
# value.
More information about the Koha-cvs
mailing list