From b187fdd5442216e598a181f732da57e268f46dd8 Mon Sep 17 00:00:00 2001 From: Nik Okuntseff Date: Mon, 26 Mar 2018 15:16:10 +0000 Subject: [PATCH] Fixed a comment. --- WEB-INF/templates/footer.tpl | 2 +- reports.php | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/WEB-INF/templates/footer.tpl b/WEB-INF/templates/footer.tpl index 4b5b36f6..c7c23da3 100644 --- a/WEB-INF/templates/footer.tpl +++ b/WEB-INF/templates/footer.tpl @@ -12,7 +12,7 @@
-
 Anuko Time Tracker 1.17.73.4175 | Copyright © Anuko | +  Anuko Time Tracker 1.17.73.4176 | Copyright © Anuko | {$i18n.footer.credits} | {$i18n.footer.license} | {$i18n.footer.improve} 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. -- 2.20.1