summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDries Buytaert2008-11-15 07:43:06 (GMT)
committerDries Buytaert2008-11-15 07:43:06 (GMT)
commit4595edbfc8930ce84e374dc6183266dab7dbecfd (patch)
treea3938eab50b28d7ba2b8c81c50ae3b1257f94414
parent8fb1fc5c90fe3f5c2fd8c8f1d2c82fc9082f92a2 (diff)
- Patch #334238 by justinrandell: fixed update_get_project_name.
-rw-r--r--modules/update/update.compare.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/update/update.compare.inc b/modules/update/update.compare.inc
index d91d497..ec24f99 100644
--- a/modules/update/update.compare.inc
+++ b/modules/update/update.compare.inc
@@ -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'))) {