diff --git a/core/modules/system/system.install b/core/modules/system/system.install index 7db1eaeb07..7c60d7dea1 100644 --- a/core/modules/system/system.install +++ b/core/modules/system/system.install @@ -43,12 +43,12 @@ function system_requirements($phase) { $requirements['install_profile'] = [ 'title' => t('Installation profile'), 'value' => t('%profile_name (%profile-%version)', [ - '%profile_name' => $info['name'], + '%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 + 'weight' => -9, ]; }