mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-29 10:09:10 +01:00
Fix mail integration vfs attachments not working for infolog, tracker and calendar
This commit is contained in:
parent
6231e7e43b
commit
ea114fe1b7
@ -2702,7 +2702,8 @@ class calendar_uiforms extends calendar_ui
|
||||
{
|
||||
egw_link::link('calendar',$event['link_to']['to_id'],egw_link::DATA_APPNAME, $attachment);
|
||||
}
|
||||
else if(is_readable($attachment['tmp_name']))
|
||||
else if(is_readable($attachment['tmp_name']) ||
|
||||
(egw_vfs::is_readable($attachment['tmp_name']) && parse_url($attachment['tmp_name'], PHP_URL_SCHEME) === 'vfs'))
|
||||
{
|
||||
egw_link::link('calendar',$event['link_to']['to_id'],'file', $attachment);
|
||||
}
|
||||
|
@ -1203,7 +1203,8 @@ class infolog_bo
|
||||
{
|
||||
egw_link::link('infolog',$info['link_to']['to_id'],egw_link::DATA_APPNAME, $attachment);
|
||||
}
|
||||
else if(is_readable($attachment['tmp_name']))
|
||||
else if(is_readable($attachment['tmp_name']) ||
|
||||
(egw_vfs::is_readable($attachment['tmp_name']) && parse_url($attachment['tmp_name'], PHP_URL_SCHEME) === 'vfs'))
|
||||
{
|
||||
egw_link::link('infolog',$info['link_to']['to_id'],'file', $attachment);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user