Commit 4595edbf authored by Dries's avatar Dries

- Patch #334238 by justinrandell: fixed update_get_project_name.

parent 8fb1fc5c
......@@ -103,7 +103,7 @@ function update_get_project_name($file) {
if (isset($file->info['project'])) {
$project_name = $file->info['project'];
}
elseif (isset($file->info['package']) && (strpos($file->info['package'], 'Core -') !== FALSE)) {
elseif (isset($file->info['package']) && (strpos($file->info['package'], 'Core') !== FALSE)) {
$project_name = 'drupal';
}
elseif (in_array($file->name, array('bluemarine', 'chameleon', 'garland', 'marvin', 'minnelli', 'pushbutton'))) {
......
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