X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/81e3d28e3f248c4ae79017bd5cddbf8e322d327a..69822fd215cb15e1bb017f1af6f0a185f62a31e2:/SL/LICENSES.pm diff --git a/SL/LICENSES.pm b/SL/LICENSES.pm index ce1e799d6..7d5f4ba36 100644 --- a/SL/LICENSES.pm +++ b/SL/LICENSES.pm @@ -69,8 +69,8 @@ sub save_license { $sth->finish(); if ($form->{own_product}) { - $form->update_balance($dbh, "parts", "onhand", qq|id = $form->{parts_id}|, - 1); + $form->update_balance($dbh, "parts", "onhand", qq|id = ?|, + 1, $form->{parts_id}); } $dbh->disconnect();