]> wagnertech.de Git - timetracker.git/blobdiff - mobile/users.php
Adjusted monthly quotas plugin to use configurable holidays.
[timetracker.git] / mobile / users.php
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);
 }