projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d55148
)
Bugfix: makemodel.make ist integer
author
G. Richardson
<information@lx-office-hosting.de>
Mon, 27 Sep 2010 11:13:53 +0000
(13:13 +0200)
committer
G. Richardson
<information@lx-office-hosting.de>
Mon, 27 Sep 2010 13:12:16 +0000
(15:12 +0200)
Feldvergleich zu in SL/IC.pm schlug fehl, cast von string zu integer nicht mehr nötig
SL/IC.pm
patch
|
blob
|
history
diff --git
a/SL/IC.pm
b/SL/IC.pm
index
d5b0f53
..
b9ad62c
100644
(file)
--- 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 = ();