X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=reports.php;h=3aba9cdf7c9c4414dadab3d5d993b20a725381ea;hb=81ca36ba9b5294ecb417d9b82196752211c652b7;hp=59f3c0f928e31dabf9d1430715fe256a58152055;hpb=d9ef3e94c49d9b5e8c7532efc8b460c3e1135fdd;p=timetracker.git diff --git a/reports.php b/reports.php index 59f3c0f9..3aba9cdf 100644 --- a/reports.php +++ b/reports.php @@ -144,12 +144,11 @@ $user_list = array(); if ($user->can('view_reports') || $user->isClient()) { // Prepare user and assigned projects arrays. if ($user->can('view_reports')) { - // $users = ttTeamHelper::getUsers(); // Active and inactive users for managers. if ($user->can('view_own_reports')) $options = array('max_rank'=>$user->rank-1,'include_self'=>true); else $options = array('max_rank'=>$user->rank-1); - $users = $user->getUsers($options); // Active and inactive users for managers. + $users = $user->getUsers($options); // Active and inactive users. } elseif ($user->isClient()) $users = ttTeamHelper::getUsersForClient(); // Active and inactive users for clients.