From a064deaf7fb181680130a873efc5fb895fe7ba35 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Fri, 14 Oct 2011 10:22:13 +0200 Subject: [PATCH] $::all_units in $::request gecacht. --- SL/AM.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/SL/AM.pm b/SL/AM.pm index ba15e7f84..ab712c852 100644 --- 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}; } -- 2.20.1