X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/116f40a3c1a4773be9b57a535cc164d74d3171b5..6ed3eaf6cdcec633878703161f2d6d886bfe2ac3:/SL/IS.pm diff --git a/SL/IS.pm b/SL/IS.pm index c37b1aa82..62869394a 100644 --- a/SL/IS.pm +++ b/SL/IS.pm @@ -421,7 +421,7 @@ sub customer_details { # get contact id, set it if nessessary $form->{cp_id} *= 1; - my @values; + my @values = (conv_i($form->{customer_id})); my $where = ""; if ($form->{cp_id}) { @@ -438,7 +438,6 @@ sub customer_details { WHERE (ct.id = ?) $where ORDER BY cp.cp_id LIMIT 1|; - push(@values, conv_i($form->{customer_id})); my $ref = selectfirst_hashref_query($form, $dbh, $query, @values); # remove id and taxincluded before copy back