X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/df370652d9dff5881b911e72cbc050ee757630f8..ad98b13400fdc2fa2299a22c9bd54c4cd27960c3:/users.php diff --git a/users.php b/users.php index b1fe52a0..354ea1d6 100644 --- a/users.php +++ b/users.php @@ -44,8 +44,8 @@ if($user->canManageTeam()) { $inactive_users = ttTeamHelper::getInactiveUsers($user->team_id, true); } -// Check if the user wants to show uncompleted time entries. -if (UNCOMPLETED_INDICATORS == $user->uncompleted_entries) { +// Check if the team is set to show indicators for uncompleted time entries. +if ($user->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']);