From: Moritz Bunkus Date: Tue, 5 Feb 2013 10:12:53 +0000 (+0100) Subject: Speichern von Waren nach Fremdschlüsseleinführung gefixt X-Git-Tag: release-3.1.0beta1~644 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=23a596b95dea45e369cc676fd9c8deda6c4d2162;p=kivitendo-erp.git Speichern von Waren nach Fremdschlüsseleinführung gefixt --- diff --git a/SL/IC.pm b/SL/IC.pm index f39c169b2..8d46c2d90 100644 --- a/SL/IC.pm +++ b/SL/IC.pm @@ -321,7 +321,7 @@ sub save { $form->{orphaned} = 1; } - my $partsgroup_id = 0; + my $partsgroup_id = undef; if ($form->{partsgroup}) { (my $partsgroup, $partsgroup_id) = split(/--/, $form->{partsgroup});