forked from extern/egroupware
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'];
|
if (!$settings) $settings = $GLOBALS['egw_info']['user']['preferences']['filemanager']['default_document'];
|
||||||
$document_merge = new filemanager_merge(egw_vfs::decodePath($dir));
|
$document_merge = new filemanager_merge(egw_vfs::decodePath($dir));
|
||||||
$msg = $document_merge->download($settings, $selected, '', $GLOBALS['egw_info']['user']['preferences']['filemanager']['document_dir']);
|
$msg = $document_merge->download($settings, $selected, '', $GLOBALS['egw_info']['user']['preferences']['filemanager']['document_dir']);
|
||||||
|
if($msg) return $msg;
|
||||||
$failed = count($selected);
|
$failed = count($selected);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user