projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Auf gar keine Fall nicht ueberkomplizierte Logik nicht leichter gemacht...
[kivitendo-erp.git]
/
SL
/
IR.pm
diff --git
a/SL/IR.pm
b/SL/IR.pm
index
9a6ca9d
..
f51ce4a
100644
(file)
--- a/
SL/IR.pm
+++ b/
SL/IR.pm
@@
-224,9
+224,8
@@
sub post_invoice {
$dbh->do($query) || $form->dberror($query);
$dbh->do($query) || $form->dberror($query);
- $form->update_balance($dbh, "parts", "onhand",
- qq|id = $form->{"id_$i"}|,
- $baseqty)
+ $form->update_balance($dbh, "parts", "onhand", qq|id = ?|,
+ $baseqty, $form->{"id_$i"})
unless $form->{shipped};
# check if we sold the item already and
unless $form->{shipped};
# check if we sold the item already and