X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/0fee52dd84f068d93daaff1b44d38c224b723593..ef17e41a8364c6c97566a054768f573659dbec79:/SL/IC.pm diff --git a/SL/IC.pm b/SL/IC.pm index a2703b64f..a4b17f844 100644 --- a/SL/IC.pm +++ b/SL/IC.pm @@ -795,7 +795,7 @@ sub adjust_inventory { $sth->finish; # update assembly - my $rc = $form->update_balance($dbh, "parts", "onhand", qq|id = $id|, $qty); + my $rc = $form->update_balance($dbh, "parts", "onhand", qq|id = ?|, $qty, $id); $main::lxdebug->leave_sub();