]> wagnertech.de Git - mfinanz.git/blobdiff - SL/IC.pm
Umstellung der Form.pm auf die Verwendung parametrisierter Queries zur Vermeidung...
[mfinanz.git] / SL / IC.pm
index a2703b64f656fc8e93e6326afbb6eba81f41eae1..a4b17f844b1da3b8c409d0fcb6a05f37ceeebfe2 100644 (file)
--- 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();