mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 23:00:56 +01:00
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