mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 06:30:59 +01:00
Fix mail integration vfs attachments not working for infolog, tracker and calendar
This commit is contained in:
parent
fb147edad5
commit
7a57615e38
@ -2855,7 +2855,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);
|
||||
}
|
||||
|
@ -1186,7 +1186,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