diff --git a/core/modules/system/system.install b/core/modules/system/system.install index d5686dc..b445e40 100644 --- a/core/modules/system/system.install +++ b/core/modules/system/system.install @@ -42,9 +42,11 @@ function system_requirements($phase) { $requirements['install_profile'] = array( 'title' => t('Installation profile'), 'value' => t('%profile_name (%profile-%version)', array( - '%profile_name' => $info['name'], + // We may not know the version of the profile at time of installation. + // @see https://www.drupal.org/node/1170362#comment-5050480 + '%profile_name' => isset($info['name']) ? $info['name'] : $profile, '%profile' => $profile, - '%version' => $info['version'] + '%version' => isset($info['version']) ? $info['version'] : t('Version Unknown'), )), 'severity' => REQUIREMENT_INFO, 'weight' => -9