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