]> wagnertech.de Git - kivitendo-erp.git/blobdiff - SL/LICENSES.pm
Eine Session maximal acht Stunden inaktiv lassen.
[kivitendo-erp.git] / SL / LICENSES.pm
index ce1e799d602efc2e179282fa1f4d273bb7c2cf53..7d5f4ba36f5d7dc70409238aa4a3959e5c6c0ae2 100644 (file)
@@ -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();