gelöschte Benutzer in fu/edit_access_rights ausblenden
authorSven Schöling <s.schoeling@linet-services.de>
Mon, 13 Feb 2012 11:00:29 +0000 (12:00 +0100)
committerSven Schöling <s.schoeling@linet-services.de>
Mon, 13 Feb 2012 11:00:29 +0000 (12:00 +0100)
bin/mozilla/fu.pl

index 8870c2b..b2e6037 100644 (file)
@@ -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} };