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:
3921865
)
Eine Warnung über undefinierte Werte vermeiden.
author
Moritz Bunkus
<m.bunkus@linet-services.de>
Thu, 23 Jul 2009 12:52:30 +0000
(14:52 +0200)
committer
Moritz Bunkus
<m.bunkus@linet-services.de>
Thu, 23 Jul 2009 12:52:30 +0000
(14:52 +0200)
SL/WH.pm
patch
|
blob
|
history
diff --git
a/SL/WH.pm
b/SL/WH.pm
index
a8492ec
..
91ac127
100644
(file)
--- a/
SL/WH.pm
+++ b/
SL/WH.pm
@@
-602,7
+602,7
@@
sub get_warehouse_report {
@all_fields = keys %{ $ref } unless (@all_fields);
}
- $ref->{stock_value}
*=
$ref->{qty};
+ $ref->{stock_value}
= ($ref->{stock_value} || 0) *
$ref->{qty};
push @contents, $ref;
}