From: Moritz Bunkus Date: Tue, 10 Jun 2008 15:24:34 +0000 (+0000) Subject: parts_vendor gibt es in der unstable nicht. X-Git-Tag: release-2.6.0beta1~143 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=c3c267fe1364e57f5d52f5ee1f68242a7a61a3af;p=kivitendo-erp.git parts_vendor gibt es in der unstable nicht. --- diff --git a/SL/IC.pm b/SL/IC.pm index 290d02e73..2499decd0 100644 --- a/SL/IC.pm +++ b/SL/IC.pm @@ -1780,18 +1780,6 @@ sub get_basic_part_info { my $info = selectall_hashref_query($form, $dbh, $query, map { conv_i($_) } @ids); - if ($params{vendor_id}) { - $query = qq|SELECT * FROM parts_vendor WHERE (parts_id = ?) AND (vendor_id = ?)|; - my $sth = prepare_query($form, $dbh, $query); - - foreach my $part (@{ $info }) { - do_statement($form, $sth, $query, $part->{id}, conv_i($params{vendor_id})); - $part->{vendor_info} = $sth->fetchrow_hashref(); - } - - $sth->finish(); - } - if ('' eq ref $params{id}) { $info = $info->[0] || { };