Commit c7314c30 authored by gnuget's avatar gnuget Committed by gnuget
Browse files

Issue #2999548 by gnuget, jaydee1818, AdamBernstein: Module does not exist error for unused themes

parent d4238e55
......@@ -45,9 +45,14 @@ class AdvancedHelpManager extends DefaultPluginManager {
$themes = $this->theme_handler->listInfo();
$result = [];
foreach ($modules + $themes as $name => $data) {
foreach ($modules as $name => $data) {
$result[$name] = $this->module_handler->getName($name);
}
foreach ($themes as $name => $data) {
$result[$name] = $this->theme_handler->getName($name);
}
return $result;
}
......
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