X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/bd5a201697a949a00738c890b227eda0948c0bf2..6d72b9b2a73391e8e6b2a3586b4972c1a2e8160d:/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); }