diff --git a/commands/pm/pm.drush.inc b/commands/pm/pm.drush.inc index 8e45a76dda..6bcf1159ca 100644 --- a/commands/pm/pm.drush.inc +++ b/commands/pm/pm.drush.inc @@ -562,13 +562,13 @@ function drush_get_projects(&$extensions = NULL) { 'status' => $extension->status, 'extensions' => array(), ); - if (isset($extension->info['project status url'])) { - $projects[$project]['status url'] = $extension->info['project status url']; - } } elseif ($extension->status != 0) { $projects[$project]['status'] = $extension->status; } + if (isset($extension->info['project status url'])) { + $projects[$project]['status url'] = $extension->info['project status url']; + } $projects[$project]['extensions'][] = $extension->name; }