X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/8e930ac814c5ac5946d0a6c1124c61d7e2883cd1..b33cf8ebaf54882a2238b660ba07936301077695:/timesheets.php diff --git a/timesheets.php b/timesheets.php index b2c64e63..4a4eb66f 100644 --- a/timesheets.php +++ b/timesheets.php @@ -28,7 +28,7 @@ require_once('initialize.php'); import('form.Form'); -import('ttGroupHelper'); +import('ttTimesheetHelper'); // Access checks. if (!(ttAccessAllowed('view_own_timesheets') || @@ -46,7 +46,7 @@ if (!$user->isPluginEnabled('ts')) { } // End of access checks. -$timesheets = $user->getTimesheets(); +$timesheets = ttTimesheetHelper::getTimesheets($user->getUser()); $smarty->assign('timesheets', $timesheets); $smarty->assign('title', $i18n->get('title.timesheets'));