From: Moritz Bunkus Date: Fri, 18 Jan 2008 16:50:25 +0000 (+0000) Subject: Falsche Anzahl Parameter für SQL-Query. X-Git-Tag: release-2.6.0beta1~328 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=d157848afbe595e7c06032b38d46853279ce2290;p=kivitendo-erp.git Falsche Anzahl Parameter für SQL-Query. --- diff --git a/SL/AM.pm b/SL/AM.pm index 91fc9a7c1..3ed8e5ddb 100644 --- a/SL/AM.pm +++ b/SL/AM.pm @@ -2540,7 +2540,7 @@ sub get_warehouse { FROM warehouse w WHERE w.id = ?|; - my $ref = selectfirst_hashref_query($form, $dbh, $query, $id, $id); + my $ref = selectfirst_hashref_query($form, $dbh, $query, $id); map { $form->{$_} = $ref->{$_} } keys %{ $ref };