]> wagnertech.de Git - timetracker.git/blobdiff - timesheets.php
More progress on timesheets.
[timetracker.git] / timesheets.php
index b2c64e636a0c9c57da6fde58c572a8a6b5a8f93b..4a4eb66fef20ca9802d3039dcd892aa45f792099 100644 (file)
@@ -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'));