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:
6f741b4
)
Zirkuläres Include zwischen SL::AM und SL::MoreCommon auflösen
author
Sven Schöling
<s.schoeling@linet-services.de>
Thu, 20 Jun 2013 16:47:20 +0000
(18:47 +0200)
committer
Sven Schöling
<s.schoeling@linet-services.de>
Tue, 25 Jun 2013 12:22:29 +0000
(14:22 +0200)
SL/MoreCommon.pm
patch
|
blob
|
history
diff --git
a/SL/MoreCommon.pm
b/SL/MoreCommon.pm
index
1aa9c2d
..
9f4fae6
100644
(file)
--- 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})) {