Skip to content

Commit

Permalink
Fix download of dependencies after PMTNG2
Browse files Browse the repository at this point in the history
  • Loading branch information
jonhattan committed Jan 7, 2012
1 parent 3b15860 commit 326d413
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion commands/pm/pm.drush.inc
Expand Up @@ -648,7 +648,7 @@ function drush_pm_find_project_from_extension($extension) {
$release_info = drush_get_option('release-info', 'updatexml');
drush_include_engine('release_info', $release_info);
$request = pm_parse_project_version(array($extension));
if (release_info_check_project($request, 'module')) {
if (release_info_check_project($request[$extension], 'module')) {
$result = $extension;
}
}
Expand Down
2 changes: 1 addition & 1 deletion commands/pm/release_info/updatexml.inc
Expand Up @@ -84,7 +84,7 @@ function release_info_get_releases($requests) {
/**
* Check if a project is available in a update service.
*
* It also checks for consistency by comparing given project type with to the
* It also checks for consistency by comparing given project type and the
* type obtained from the update service.
*/
function release_info_check_project($request, $type) {
Expand Down

0 comments on commit 326d413

Please sign in to comment.