"fixed bug with predefined status"

This commit is contained in:
Stefan Becker 2009-11-14 18:02:21 +00:00
parent 66c4b6c0cb
commit 92da2abb2e

View File

@ -279,7 +279,7 @@ class timesheet_ui extends timesheet_bo
'ts_quantity_blur' => $this->data['ts_duration'] ? round($this->data['ts_duration'] / 60.0,3) : '',
'start_time' => egw_time::to($this->data['ts_start'],'H:i'),
'pm_integration' => $this->pm_integration,
'ts_status' => ($preserv['ts_status'] !='')? $preserv['ts_status'] : $GLOBALS['egw_info']['user']['preferences']['timesheet']['predefined_status'],
'ts_status' => ($preserv['ts_id'])? $preserv['ts_status'] : $GLOBALS['egw_info']['user']['preferences']['timesheet']['predefined_status'],
));
$links = array();
// create links specified in the REQUEST (URL)