Allow documents in dirs other than user's preference dir by passing full path

This commit is contained in:
Nathan Gray 2011-05-05 21:42:56 +00:00
parent ec61c6268f
commit 40d22624dd

View File

@ -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;
}