]> wagnertech.de Git - timetracker.git/commitdiff
Fixed users.php for uncompleted indicators and monthly quotas situation.
authorNik Okuntseff <support@anuko.com>
Sat, 22 Dec 2018 16:19:06 +0000 (16:19 +0000)
committerNik Okuntseff <support@anuko.com>
Sat, 22 Dec 2018 16:19:06 +0000 (16:19 +0000)
WEB-INF/templates/footer.tpl
mobile/users.php
users.php

index 91370d82c5519665709d6348e7e4ac598ee6e39b..83eb9084d918170aa431469d3366418c5478a3a9 100644 (file)
@@ -12,7 +12,7 @@
       <br>
       <table cellspacing="0" cellpadding="4" width="100%" border="0">
         <tr>
-          <td align="center">&nbsp;Anuko Time Tracker 1.18.36.4683 | Copyright &copy; <a href="https://www.anuko.com/lp/tt_3.htm" target="_blank">Anuko</a> |
+          <td align="center">&nbsp;Anuko Time Tracker 1.18.36.4684 | Copyright &copy; <a href="https://www.anuko.com/lp/tt_3.htm" target="_blank">Anuko</a> |
             <a href="https://www.anuko.com/lp/tt_4.htm" target="_blank">{$i18n.footer.credits}</a> |
             <a href="https://www.anuko.com/lp/tt_5.htm" target="_blank">{$i18n.footer.license}</a> |
             <a href="https://www.anuko.com/lp/tt_7.htm" target="_blank">{$i18n.footer.improve}</a>
index d6d08457ae1dfe14cb4109f2de1e076391777ed4..d51cafcab8bb21ce5dbc23c2de75ccd355f988d3 100644 (file)
@@ -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);
 }
index aa7f4440215e00e376160afccec6447b129f6817..2fbcb5d20e61e779b5f7f7db52f7af3d7ad559dd 100644 (file)
--- 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);
 }