X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=users.php;h=354ea1d692f6b33843e09eef136327ec0455861b;hb=ad98b13400fdc2fa2299a22c9bd54c4cd27960c3;hp=b1fe52a0baa5aa9f2aba255fc8e32aaced978d2e;hpb=df370652d9dff5881b911e72cbc050ee757630f8;p=timetracker.git 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']);