forked from extern/egroupware
Allow documents in dirs other than user's preference dir by passing full path
This commit is contained in:
parent
ec61c6268f
commit
40d22624dd
@ -1155,7 +1155,7 @@ class timesheet_ui extends timesheet_bo
|
|||||||
{
|
{
|
||||||
$document = $GLOBALS['egw_info']['user']['preferences']['timesheet']['default_document'];
|
$document = $GLOBALS['egw_info']['user']['preferences']['timesheet']['default_document'];
|
||||||
}
|
}
|
||||||
else
|
elseif ($document[0] != '/')
|
||||||
{
|
{
|
||||||
$document = $GLOBALS['egw_info']['user']['preferences']['timesheet']['document_dir'].'/'.$document;
|
$document = $GLOBALS['egw_info']['user']['preferences']['timesheet']['document_dir'].'/'.$document;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user