Index: modules/system/system.install
===================================================================
RCS file: /cvs/drupal/drupal/modules/system/system.install,v
retrieving revision 1.529
diff -u -p -r1.529 system.install
--- modules/system/system.install	6 Dec 2010 06:57:40 -0000	1.529
+++ modules/system/system.install	13 Dec 2010 00:20:06 -0000
@@ -29,21 +29,29 @@ function system_requirements($phase) {
       'weight' => -10,
     );
 
-    // Display the currently active install profile, if the site
-    // is not running the default install profile.
+    // Display the currently active install profile. Skip this if the site is
+    // running the standard install profile or if it is running a profile that
+    // does not provide enough relevant information to describe itself.
     $profile = drupal_get_profile();
-    if ($profile != 'standard') {
-      $info = install_profile_info($profile);
+    $info = install_profile_info($profile);
+    if ($profile != 'standard' && isset($info['name'])) {
       $requirements['install_profile'] = array(
         'title' => $t('Install profile'),
-        'value' => $t('%profile_name (%profile-%version)', array(
-          '%profile_name' => $info['name'],
-          '%profile' => $profile,
-          '%version' => $info['version']
-        )),
         'severity' => REQUIREMENT_INFO,
-        'weight' => -9
+        'weight' => -9,
       );
+      // Only display the version information if the profile has a version
+      // defined.
+      if (isset($info['version'])) {
+        $requirements['install_profile']['value'] = $t('%profile_name (%profile-%version)', array(
+          '%profile_name' => $info['name'],
+          '%profile' => $profile,
+          '%version' => $info['version'],
+        ));
+      }
+      else {
+        $requirements['install_profile']['value'] = drupal_placeholder($info['name']);
+      }
     }
   }
 
