projects
/
koha_fer
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c0c8f96
)
fixing a sql query not using prepare(?) & execute($var) method
author
tipaul
<tipaul>
Tue, 28 Jan 2003 14:53:30 +0000
(14:53 +0000)
committer
tipaul
<tipaul>
Tue, 28 Jan 2003 14:53:30 +0000
(14:53 +0000)
C4/Catalogue.pm
patch
|
blob
|
history
diff --git
a/C4/Catalogue.pm
b/C4/Catalogue.pm
index
27a2995
..
7e3835c
100644
(file)
--- a/
C4/Catalogue.pm
+++ b/
C4/Catalogue.pm
@@
-334,11
+334,11
@@
sub receiveorder {
my $sth=$dbh->prepare($query);
$sth->execute;
$sth->finish;
- $query="update aqorderbreakdown set bookfundid=
$bookfund
where
- ordernumber=
$ordnum
";
+ $query="update aqorderbreakdown set bookfundid=
?
where
+ ordernumber=
?
";
$sth=$dbh->prepare($query);
# print $query;
- $sth->execute;
+ $sth->execute
($bookfund,$ordnum)
;
$sth->finish;
}