forked from extern/egroupware
fix some scrutinizer "bugs"
This commit is contained in:
parent
9860c9d8b7
commit
d11405205c
@ -6933,7 +6933,7 @@ class Mail
|
||||
case 'vfs':
|
||||
break;
|
||||
case 'egw-data':
|
||||
$message = Link::get_data(parse_url($tmpFileName, PHP_URL_HOST), true);
|
||||
$message = ($host = parse_url($tmpFileName, PHP_URL_HOST)) ? Link::get_data($host, true) : false;
|
||||
break;
|
||||
default:
|
||||
$tmpFileName = $GLOBALS['egw_info']['server']['temp_dir'].'/'.basename($tmpFileName);
|
||||
|
Loading…
Reference in New Issue
Block a user