Fehler beim Speichern von Auftraegen behoben, wenn Angebot in Auftrag umgewandelt...
[kivitendo-erp.git] / SL / IS.pm
index a547fa9..540c874 100644 (file)
--- a/SL/IS.pm
+++ b/SL/IS.pm
@@ -554,6 +554,7 @@ print STDERR "IS.pm-post_invoice\n";
 
       # get pricegroup_id and save ist
       ($null, my $pricegroup_id) = split /--/, $form->{"sellprice_drag_$i"};
+      $pricegroup_id *= 1;
 
       # save detail record in invoice table
       $query = qq|INSERT INTO invoice (trans_id, parts_id, description, qty,