From: Moritz Bunkus Date: Mon, 21 May 2007 12:18:07 +0000 (+0000) Subject: @values wurde in der falschen Reihenfolge befüllt. Fix für Bug 654. X-Git-Tag: release-2.4.3^2~278 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=6ed3eaf6cdcec633878703161f2d6d886bfe2ac3;p=kivitendo-erp.git @values wurde in der falschen Reihenfolge befüllt. Fix für Bug 654. --- 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