X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/bfaedf194df864a24ea4a44c359435be68983909..38dd91dcf8a9ecf6b7ceb73a9aabf787b96b6f6e:/reports.php diff --git a/reports.php b/reports.php index f4306961..31209995 100644 --- a/reports.php +++ b/reports.php @@ -31,6 +31,7 @@ import('form.Form'); import('form.ActionForm'); import('DateAndTime'); import('ttTeamHelper'); +import('ttGroupHelper'); import('Period'); import('ttProjectHelper'); import('ttFavReportHelper'); @@ -106,7 +107,7 @@ $form->addInput(array('type'=>'combobox', 'datakeys'=>array('id','name'), 'empty'=>array(''=>$i18n->get('dropdown.all')))); if (MODE_PROJECTS_AND_TASKS == $user->tracking_mode) { - $task_list = ttTeamHelper::getActiveTasks($user->group_id); + $task_list = ttGroupHelper::getActiveTasks(); $form->addInput(array('type'=>'combobox', 'name'=>'task', 'style'=>'width: 250px;',