From 6ed3eaf6cdcec633878703161f2d6d886bfe2ac3 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Mon, 21 May 2007 12:18:07 +0000 Subject: [PATCH] =?utf8?q?@values=20wurde=20in=20der=20falschen=20Reihenfo?= =?utf8?q?lge=20bef=C3=BCllt.=20Fix=20f=C3=BCr=20Bug=20654.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- SL/IS.pm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 -- 2.20.1