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