From: Sven Schöling Date: Tue, 30 Dec 2014 10:19:16 +0000 (+0100) Subject: AM: wantarray raus, wird nur in scalar verwendet X-Git-Tag: release-3.2.0beta~111 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=b8ede741b1a02521453237e37c5a46fcf9042576;p=kivitendo-erp.git AM: wantarray raus, wird nur in scalar verwendet --- diff --git a/SL/AM.pm b/SL/AM.pm index acae102c3..d5c38ae50 100644 --- 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 {