diff --git includes/module.inc includes/module.inc index 14b394c..54dd974 100644 --- includes/module.inc +++ includes/module.inc @@ -165,7 +165,7 @@ function system_list($type) { $record->info = unserialize($record->info); // Build a list of all enabled modules. if ($record->type == 'module') { - $lists['module_enabled'][$record->name] = $record; + $lists['module_enabled'][$record->name] = $record->info; } // Build a list of themes. if ($record->type == 'theme') { diff --git modules/system/system.module modules/system/system.module index b5dfc54..cb1ba9c 100644 --- modules/system/system.module +++ modules/system/system.module @@ -2307,7 +2307,10 @@ function system_get_info($type, $name = NULL) { } $list = system_list($type); foreach ($list as $shortname => $item) { - if (!empty($item->status)) { + if ($type == 'module_enabled') { + $info[$shortname] = $item; + } + elseif (!empty($item->status)) { $info[$shortname] = $item->info; } }