From: Sven Schöling Date: Thu, 20 Jun 2013 16:47:20 +0000 (+0200) Subject: Zirkuläres Include zwischen SL::AM und SL::MoreCommon auflösen X-Git-Tag: release-3.1.0beta1~289 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=eeadb745e5eb55be9e7601cd223f685e6eebb6ef;p=kivitendo-erp.git Zirkuläres Include zwischen SL::AM und SL::MoreCommon auflösen --- 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})) {