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:
86a253d
)
ShippedQty: Übergabe von Strings als ids abfangen
author
Sven Schöling
<s.schoeling@linet-services.de>
Tue, 1 Aug 2017 11:11:54 +0000
(13:11 +0200)
committer
Sven Schöling
<s.schoeling@linet-services.de>
Tue, 1 Aug 2017 11:16:11 +0000
(13:16 +0200)
SL/Helper/ShippedQty.pm
patch
|
blob
|
history
diff --git
a/SL/Helper/ShippedQty.pm
b/SL/Helper/ShippedQty.pm
index
5135823
..
af2a4f4
100644
(file)
--- a/
SL/Helper/ShippedQty.pm
+++ b/
SL/Helper/ShippedQty.pm
@@
-258,6
+258,7
@@
sub normalize_input {
$self->objects($data);
} else {
die 'object or reference in data while expecting ids' if any { ref($_) } @$data;
+ die 'ids need to be numbers' if any { ! ($_ * 1) } @$data;
$self->oe_ids($data);
}