From: Nik Okuntseff Date: Mon, 26 Mar 2018 14:25:58 +0000 (+0000) Subject: Removed rank field from the query as it is currently not used. X-Git-Tag: timetracker_1.19-1~934 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=5c3193f4b25f637d737c2acb714164ada39b4788;p=timetracker.git Removed rank field from the query as it is currently not used. --- diff --git a/WEB-INF/lib/ttUser.class.php b/WEB-INF/lib/ttUser.class.php index 7f9894ef..27b90a42 100644 --- a/WEB-INF/lib/ttUser.class.php +++ b/WEB-INF/lib/ttUser.class.php @@ -305,7 +305,7 @@ class ttUser { $mdb2 = getConnection(); - $sql = "select u.id, u.name, u.login, u.role_id, u.status, u.rate, u.email, r.rank from tt_users u". + $sql = "select u.id, u.name, u.login, u.role_id, u.status, u.rate, u.email from tt_users u". " left join tt_roles r on (u.role_id = r.id)". " where u.id = $user_id and u.team_id = $this->team_id and u.status is not null". " and (r.rank < $this->rank or (r.rank = $this->rank and u.id = $this->id))"; // Users with lesser roles or self. diff --git a/WEB-INF/templates/footer.tpl b/WEB-INF/templates/footer.tpl index 851570f3..e965d2a5 100644 --- a/WEB-INF/templates/footer.tpl +++ b/WEB-INF/templates/footer.tpl @@ -12,7 +12,7 @@
-
 Anuko Time Tracker 1.17.72.4172 | Copyright © Anuko | +  Anuko Time Tracker 1.17.72.4173 | Copyright © Anuko | {$i18n.footer.credits} | {$i18n.footer.license} | {$i18n.footer.improve}