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:41:20 +00:00
parent 8b4728ad4a
commit ffbef21045

View File

@ -729,7 +729,7 @@ class calendar_uilist extends calendar_ui
{
$document = $GLOBALS['egw_info']['user']['preferences']['calendar']['default_document'];
}
else
elseif ($document[0] != '/')
{
$document = $GLOBALS['egw_info']['user']['preferences']['calendar']['document_dir'].'/'.$document;
}