Commit bf359955 authored by alexpott's avatar alexpott

Issue #2839844 by chaitanya17, tomasnagy: Notice: Undefined index: package in...

Issue #2839844 by chaitanya17, tomasnagy: Notice: Undefined index: package in system_requirements() (line 60 of core\modules\system\system.install).
parent 1160fbbe
......@@ -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'];
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment