Commit 00ecc0a2 authored by Dries's avatar Dries
Browse files

- Patch #755094 by heyrocker: update_manager_archive_verify() failure message...

- Patch #755094 by heyrocker: update_manager_archive_verify() failure message refered to undefined variable.
parent 49334ae5
...@@ -685,7 +685,7 @@ function update_manager_archive_extract($file, $directory) { ...@@ -685,7 +685,7 @@ function update_manager_archive_extract($file, $directory) {
function update_manager_archive_verify($project, $archive_file, $directory) { function update_manager_archive_verify($project, $archive_file, $directory) {
$failures = module_invoke_all('verify_update_archive', $project, $archive_file, $directory); $failures = module_invoke_all('verify_update_archive', $project, $archive_file, $directory);
if (!empty($failures)) { if (!empty($failures)) {
throw new Exception(t('Unable to extract %file', array('%file' => $file))); throw new Exception(t('Unable to extract %file', array('%file' => $archive_file)));
} }
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment