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':
|
case 'vfs':
|
||||||
break;
|
break;
|
||||||
case 'egw-data':
|
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;
|
break;
|
||||||
default:
|
default:
|
||||||
$tmpFileName = $GLOBALS['egw_info']['server']['temp_dir'].'/'.basename($tmpFileName);
|
$tmpFileName = $GLOBALS['egw_info']['server']['temp_dir'].'/'.basename($tmpFileName);
|
||||||
|
Loading…
Reference in New Issue
Block a user