From 7611cd1374074e8383a83f895611bde6093a0dc6 Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Thu, 22 Apr 2010 21:41:35 +0000 Subject: [PATCH] Link created timesheets back to event --- calendar/inc/class.calendar_uilist.inc.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/calendar/inc/class.calendar_uilist.inc.php b/calendar/inc/class.calendar_uilist.inc.php index f540bddb9b..9b790b5c3a 100644 --- a/calendar/inc/class.calendar_uilist.inc.php +++ b/calendar/inc/class.calendar_uilist.inc.php @@ -516,6 +516,12 @@ class calendar_uilist extends calendar_ui $err = $timesheet_bo->save($timesheet); if(!$err) { $success++; + + // Can't link to just one of a recurring series of events + if(!$recur_date) { + // Create link + egw_link::link('calendar', $id, 'timesheet', $timesheet_bo->data['ts_id']); + } } else {