X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=tasks.php;h=e967e095e1776c1e3f341e77744a4899ffe90c68;hb=45c855269d952873285f7a835e82fc2b3eff3971;hp=5505e6dddab5d3e7abc19272a39d7d07441089c7;hpb=a8a4278a6a87c600835890a10c774dfdc58e930a;p=timetracker.git diff --git a/tasks.php b/tasks.php index 5505e6dd..e967e095 100644 --- a/tasks.php +++ b/tasks.php @@ -39,9 +39,10 @@ if (MODE_PROJECTS_AND_TASKS != $user->tracking_mode) { header('Location: feature_disabled.php'); exit(); } +// End of access checks. -$smarty->assign('active_tasks', ttTeamHelper::getActiveTasks($user->team_id)); -$smarty->assign('inactive_tasks', ttTeamHelper::getInactiveTasks($user->team_id)); +$smarty->assign('active_tasks', ttTeamHelper::getActiveTasks($user->group_id)); +$smarty->assign('inactive_tasks', ttTeamHelper::getInactiveTasks($user->group_id)); $smarty->assign('title', $i18n->get('title.tasks')); $smarty->assign('content_page_name', 'tasks.tpl'); $smarty->display('index.tpl');