From 40d22624dd92ab9aedc6084465c0c2bcf21ee5b9 Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Thu, 5 May 2011 21:42:56 +0000 Subject: [PATCH] Allow documents in dirs other than user's preference dir by passing full path --- timesheet/inc/class.timesheet_ui.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }