X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=bin%2Fmozilla%2Ffu.pl;h=b2e6037809b99e6cd5a8caa7fd4387b493686d3a;hb=4070dbf38e04b168fe43bd3a6e5a3f28f77e986d;hp=ec322413f9c70ad85eead3e6d08f4fbefb8281c6;hpb=6a8787147ad643549eb26cb4f9a373b5b354b8b9;p=kivitendo-erp.git diff --git a/bin/mozilla/fu.pl b/bin/mozilla/fu.pl index ec322413f..b2e603780 100644 --- a/bin/mozilla/fu.pl +++ b/bin/mozilla/fu.pl @@ -231,7 +231,7 @@ sub report { my $form = $main::form; my %myconfig = %main::myconfig; my $locale = $main::locale; - my $cgi = $main::cgi; + my $cgi = $::request->{cgi}; my @report_params = qw(created_for subject body reference follow_up_date_from follow_up_date_to itime_from itime_to due_only all_users done not_done); @@ -384,7 +384,7 @@ sub edit_access_rights { my $access = FU->retrieve_access_rights(); - $form->get_lists("employees" => "EMPLOYEES"); + $form->{EMPLOYEES} = SL::DB::Manager::Employee->get_all(query => [ deleted => 0 ]); map { $_->{access} = $access->{$_->{id}} } @{ $form->{EMPLOYEES} };