From: Nik Okuntseff Date: Mon, 26 Mar 2018 00:14:45 +0000 (+0000) Subject: Removed self_first option from Users page display - unneeded. X-Git-Tag: timetracker_1.19-1~937 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=2178ec6d4efd6cad07b8f137415ecec207efcdad;p=timetracker.git Removed self_first option from Users page display - unneeded. --- diff --git a/WEB-INF/templates/footer.tpl b/WEB-INF/templates/footer.tpl index e9e28a35..7239c138 100644 --- a/WEB-INF/templates/footer.tpl +++ b/WEB-INF/templates/footer.tpl @@ -12,7 +12,7 @@
-
 Anuko Time Tracker 1.17.72.4169 | Copyright © Anuko | +  Anuko Time Tracker 1.17.72.4170 | Copyright © Anuko | {$i18n.footer.credits} | {$i18n.footer.license} | {$i18n.footer.improve} diff --git a/users.php b/users.php index f5335455..8787844b 100644 --- a/users.php +++ b/users.php @@ -42,7 +42,7 @@ if (!(ttAccessAllowed('view_users') || ttAccessAllowed('manage_users'))) { if ($user->can('view_users')) $options = array('status'=>ACTIVE,'include_clients'=>true,'include_login'=>true,'include_role'=>true); else /* if ($user->can('manage_users')) */ - $options = array('status'=>ACTIVE,'max_rank'=>$user->rank-1,'include_clients'=>true,'include_self'=>true,'self_first'=>true,'include_login'=>true,'include_role'=>true); + $options = array('status'=>ACTIVE,'max_rank'=>$user->rank-1,'include_clients'=>true,'include_self'=>true,'include_login'=>true,'include_role'=>true); $active_users = $user->getUsers($options); // Prepare a list of inactive users.