X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=mobile%2Fusers.php;h=d51cafcab8bb21ce5dbc23c2de75ccd355f988d3;hb=4334f16faa68ecaec5aceb5c16bb500d62a3688f;hp=d6d08457ae1dfe14cb4109f2de1e076391777ed4;hpb=bd5a201697a949a00738c890b227eda0948c0bf2;p=timetracker.git 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); }