From bd631018a913ebc4ecce9f9ded7c2d2e85482b5b Mon Sep 17 00:00:00 2001 From: Nik Okuntseff Date: Sat, 22 Dec 2018 16:19:06 +0000 Subject: [PATCH] Fixed users.php for uncompleted indicators and monthly quotas situation. --- WEB-INF/templates/footer.tpl | 2 +- mobile/users.php | 4 ++-- users.php | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/WEB-INF/templates/footer.tpl b/WEB-INF/templates/footer.tpl index 91370d82..83eb9084 100644 --- a/WEB-INF/templates/footer.tpl +++ b/WEB-INF/templates/footer.tpl @@ -12,7 +12,7 @@
-
 Anuko Time Tracker 1.18.36.4683 | Copyright © Anuko | +  Anuko Time Tracker 1.18.36.4684 | Copyright © Anuko | {$i18n.footer.credits} | {$i18n.footer.license} | {$i18n.footer.improve} diff --git a/mobile/users.php b/mobile/users.php index d6d08457..d51cafca 100644 --- a/mobile/users.php +++ b/mobile/users.php @@ -56,8 +56,8 @@ if($user->can('manage_users')) { $uncompleted_indicators = $user->getConfigOption('uncompleted_indicators'); if ($uncompleted_indicators) { // Check each active user if they have an uncompleted time entry. - foreach ($active_users as $key => $user) { - $active_users[$key]['has_uncompleted_entry'] = (bool) ttTimeHelper::getUncompleted($user['id']); + foreach ($active_users as $key => $active_user) { + $active_users[$key]['has_uncompleted_entry'] = (bool) ttTimeHelper::getUncompleted($active_user['id']); } $smarty->assign('uncompleted_indicators', true); } diff --git a/users.php b/users.php index aa7f4440..2fbcb5d2 100644 --- a/users.php +++ b/users.php @@ -55,8 +55,8 @@ if($user->can('manage_users')) { $uncompleted_indicators = $user->getConfigOption('uncompleted_indicators'); if ($uncompleted_indicators) { // Check each active user if they have an uncompleted time entry. - foreach ($active_users as $key => $user) { - $active_users[$key]['has_uncompleted_entry'] = (bool) ttTimeHelper::getUncompleted($user['id']); + foreach ($active_users as $key => $active_user) { + $active_users[$key]['has_uncompleted_entry'] = (bool) ttTimeHelper::getUncompleted($active_user['id']); } $smarty->assign('uncompleted_indicators', true); } -- 2.20.1