X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FLICENSES.pm;h=7d5f4ba36f5d7dc70409238aa4a3959e5c6c0ae2;hb=e7367fb51e706abc8c54495e1623a5e1d2aca7fa;hp=ce1e799d602efc2e179282fa1f4d273bb7c2cf53;hpb=81e3d28e3f248c4ae79017bd5cddbf8e322d327a;p=kivitendo-erp.git 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();