From: Sven Schöling Date: Mon, 19 Sep 2011 15:32:19 +0000 (+0200) Subject: compare_numbers argumente nicht rausshiften X-Git-Tag: release-2.7.0beta1~280 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=258bf9ae10f4ad1130e0b5a0a2d834ceb0877d6b;p=kivitendo-erp.git compare_numbers argumente nicht rausshiften --- diff --git a/SL/MoreCommon.pm b/SL/MoreCommon.pm index 048e3ecd8..ded6ddf32 100644 --- a/SL/MoreCommon.pm +++ b/SL/MoreCommon.pm @@ -59,10 +59,7 @@ sub restore_form { sub compare_numbers { $main::lxdebug->enter_sub(); - my $a = shift; - my $a_unit = shift; - my $b = shift; - my $b_unit = shift; + my ($a, $a_unit, $b, $b_unit) = @_; $main::all_units ||= AM->retrieve_units(\%main::myconfig, $main::form); my $units = $main::all_units;