From: G. Richardson Date: Mon, 27 Sep 2010 11:13:53 +0000 (+0200) Subject: Bugfix: makemodel.make ist integer X-Git-Tag: release-2.6.2beta1~116 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=9cd47c3f04d3f00cf99e3057ab33da5030cd4c41;p=kivitendo-erp.git Bugfix: makemodel.make ist integer Feldvergleich zu in SL/IC.pm schlug fehl, cast von string zu integer nicht mehr nötig --- diff --git a/SL/IC.pm b/SL/IC.pm index d5b0f5366..b9ad62c58 100644 --- a/SL/IC.pm +++ b/SL/IC.pm @@ -1633,7 +1633,7 @@ sub prepare_parts_for_printing { my $placeholders = join ', ', ('?') x scalar(@part_ids); my $query = qq|SELECT mm.parts_id, mm.model, v.name AS make FROM makemodel mm - LEFT JOIN vendor v ON (mm.make = cast (v.id as text)) + LEFT JOIN vendor v ON (mm.make = v.id) WHERE mm.parts_id IN ($placeholders)|; my %makemodel = ();