X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/dff61baa6b8f972c0a74119258b81e6884a9191f..bd631018a913ebc4ecce9f9ded7c2d2e85482b5b:/mobile/users.php 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); }