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:
debd14e
)
Nachschlag zu commit: 066fbb38fb409c5801b70fc7d43f4e9190d295ff Entsprechend schon...
author
Jan Büren
<jan@lx-office-hosting.de>
Wed, 12 Oct 2011 15:03:07 +0000
(17:03 +0200)
committer
Jan Büren
<jan@lx-office-hosting.de>
Wed, 12 Oct 2011 15:03:07 +0000
(17:03 +0200)
SL/IC.pm
patch
|
blob
|
history
diff --git
a/SL/IC.pm
b/SL/IC.pm
index
e3b33d7
..
82b43cd
100644
(file)
--- a/
SL/IC.pm
+++ b/
SL/IC.pm
@@
-362,7
+362,7
@@
sub save {
$form->{partnumber} ||= $trans_number->create_unique;
($form->{id}) = selectrow_query($form, $dbh, qq|SELECT nextval('id')|);
- do_query($form, $dbh, qq|INSERT INTO parts (id, partnumber, unit) VALUES (?, ?,
'')|, $form->{id}, $form->{partnumber
});
+ do_query($form, $dbh, qq|INSERT INTO parts (id, partnumber, unit) VALUES (?, ?,
?)|, $form->{id}, $form->{partnumber}, $form->{unit
});
$form->{orphaned} = 1;
}