require_once('initialize.php');
import('form.Form');
-import('ttGroupHelper');
+import('ttTimesheetHelper');
// Access checks.
if (!(ttAccessAllowed('view_own_timesheets') ||
}
// End of access checks.
-$timesheets = $user->getTimesheets();
+$timesheets = ttTimesheetHelper::getTimesheets($user->getUser());
$smarty->assign('timesheets', $timesheets);
$smarty->assign('title', $i18n->get('title.timesheets'));