diff --git a/timesheet/inc/class.timesheet_hooks.inc.php b/timesheet/inc/class.timesheet_hooks.inc.php index 76bd4d8c5a..6600572de0 100644 --- a/timesheet/inc/class.timesheet_hooks.inc.php +++ b/timesheet/inc/class.timesheet_hooks.inc.php @@ -41,11 +41,13 @@ class timesheet_hooks 'title' => TIMESHEET_APP.'.timesheet_bo.link_title', 'titles'=> TIMESHEET_APP.'.timesheet_bo.link_titles', 'view' => array( - 'menuaction' => TIMESHEET_APP.'.timesheet_ui.view', + 'menuaction' => TIMESHEET_APP.'.timesheet_ui.edit', ), 'view_id' => 'ts_id', 'view_popup' => '600x425', - 'view_list' => 'timesheet.timesheet_ui.index', + 'index' => array( + 'menuaction' => 'timesheet.timesheet_ui.index', + ), 'add' => array( 'menuaction' => TIMESHEET_APP.'.timesheet_ui.edit', ),