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:
b036b59
)
AM: wantarray raus, wird nur in scalar verwendet
author
Sven Schöling
<s.schoeling@linet-services.de>
Tue, 30 Dec 2014 10:19:16 +0000
(11:19 +0100)
committer
Sven Schöling
<s.schoeling@linet-services.de>
Tue, 30 Dec 2014 10:19:16 +0000
(11:19 +0100)
SL/AM.pm
patch
|
blob
|
history
diff --git
a/SL/AM.pm
b/SL/AM.pm
index
acae102
..
d5c38ae
100644
(file)
--- a/
SL/AM.pm
+++ b/
SL/AM.pm
@@
-1181,7
+1181,7
@@
sub sum_with_unit {
$main::lxdebug->leave_sub();
- return
wantarray ? ($sum, $base_unit) :
$sum;
+ return $sum;
}
sub add_unit {