diff --git a/timesheet/inc/class.timesheet_ui.inc.php b/timesheet/inc/class.timesheet_ui.inc.php index 59bc50f003..36ef0bdeb0 100644 --- a/timesheet/inc/class.timesheet_ui.inc.php +++ b/timesheet/inc/class.timesheet_ui.inc.php @@ -1155,7 +1155,7 @@ class timesheet_ui extends timesheet_bo { $document = $GLOBALS['egw_info']['user']['preferences']['timesheet']['default_document']; } - else + elseif ($document[0] != '/') { $document = $GLOBALS['egw_info']['user']['preferences']['timesheet']['document_dir'].'/'.$document; }