mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 23:00:56 +01:00
Display error from merge, if merge gives error
This commit is contained in:
parent
a1e8b468b4
commit
92471650fe
@ -740,6 +740,7 @@ function force_download(_action, _senders)
|
||||
if (!$settings) $settings = $GLOBALS['egw_info']['user']['preferences']['filemanager']['default_document'];
|
||||
$document_merge = new filemanager_merge(egw_vfs::decodePath($dir));
|
||||
$msg = $document_merge->download($settings, $selected, '', $GLOBALS['egw_info']['user']['preferences']['filemanager']['document_dir']);
|
||||
if($msg) return $msg;
|
||||
$failed = count($selected);
|
||||
return false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user