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:
772f08d
)
$::all_units in $::request gecacht.
author
Sven Schöling
<s.schoeling@linet-services.de>
Fri, 14 Oct 2011 08:22:13 +0000
(10:22 +0200)
committer
Sven Schöling
<s.schoeling@linet-services.de>
Fri, 14 Oct 2011 10:40:48 +0000
(12:40 +0200)
SL/AM.pm
patch
|
blob
|
history
diff --git
a/SL/AM.pm
b/SL/AM.pm
index
ba15e7f
..
ab712c8
100644
(file)
--- a/
SL/AM.pm
+++ b/
SL/AM.pm
@@
-1386,13
+1386,13
@@
sub retrieve_all_units {
my $self = shift;
- if (!$
main::all_units
) {
- $
main::all_units
= $self->retrieve_units(\%main::myconfig, $main::form);
+ if (!$
::request->{cache}{all_units}
) {
+ $
::request->{cache}{all_units}
= $self->retrieve_units(\%main::myconfig, $main::form);
}
$main::lxdebug->leave_sub();
- return $
main::all_units
;
+ return $
::request->{cache}{all_units}
;
}