Issue #2839844 by chaitanya17, tomasnagy: Notice: Undefined index: package in system_requirements() (line 60 of core\modules\system\system.install).

8.4.x
Alex Pott 2017-05-22 11:03:29 +01:00
parent 1160fbbec4
commit bf359955a9
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ function system_requirements($phase) {
$enabled_modules = \Drupal::moduleHandler()->getModuleList();
foreach ($enabled_modules as $module => $data) {
$info = system_get_info('module', $module);
if ($info['package'] === 'Core (Experimental)') {
if (isset($info['package']) && $info['package'] === 'Core (Experimental)') {
$experimental[$module] = $info['name'];
}
}