X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/b262a6e881ec54629afda2e666b9076e8e14aacc..820545bc126db779c7982730c12a9131eff8157f:/SL/IS.pm diff --git a/SL/IS.pm b/SL/IS.pm index 97f6fef05..7b6752889 100644 --- a/SL/IS.pm +++ b/SL/IS.pm @@ -489,8 +489,7 @@ sub post_invoice { my ($query, $sth, $null, $project_id, $deliverydate, @values); my $exchangerate = 0; - ($null, $form->{employee_id}) = split(/--/, $form->{employee}); - unless ($form->{employee_id}) { + if (!$form->{employee_id}) { $form->get_employee($dbh); }