- Patch #755094 by heyrocker: update_manager_archive_verify() failure message refered to undefined variable.

merge-requests/26/head
Dries Buytaert 2010-03-28 11:40:57 +00:00
parent 49334ae538
commit 00ecc0a208
1 changed files with 1 additions and 1 deletions

View File

@ -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)));
} }
} }