X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FMoreCommon.pm;h=9f4fae60115bac0d2941fe9621b121bb25f244b8;hb=35d63a9fdee45777535d7ec815bfbc76c5c1bdc9;hp=1aa9c2d4ca50e6cc71a416adb4c0ab521d9b559c;hpb=0d1bb5102f01eb03da55bc87b52ac52cd7ae7534;p=kivitendo-erp.git diff --git a/SL/MoreCommon.pm b/SL/MoreCommon.pm index 1aa9c2d4c..9f4fae601 100644 --- a/SL/MoreCommon.pm +++ b/SL/MoreCommon.pm @@ -9,8 +9,6 @@ our @EXPORT_OK = qw(ary_union ary_intersect ary_diff listify ary_to_hash uri_enc use List::MoreUtils qw(zip); use YAML; -use SL::AM; - use strict; sub save_form { @@ -60,7 +58,7 @@ sub compare_numbers { $main::lxdebug->enter_sub(); my ($a, $a_unit, $b, $b_unit) = @_; - + require SL::AM; my $units = AM->retrieve_all_units; if (!$units->{$a_unit} || !$units->{$b_unit} || ($units->{$a_unit}->{base_unit} ne $units->{$b_unit}->{base_unit})) {