Doc: Allow to view documentation of disabled modules

fixes #13387
This commit is contained in:
Eric Lippmann 2016-12-02 15:21:58 +01:00
parent 2fa854b0a8
commit 65f0a4683f
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@ class ModuleController extends DocController
$module = $this->params->getRequired('moduleName');
$this->assertModuleInstalled($module);
$moduleManager = Icinga::app()->getModuleManager();
$name = $moduleManager->getModule($module)->getTitle();
$name = $moduleManager->getModule($module, false)->getTitle();
try {
$this->renderToc(
$this->getPath($module, Icinga::app()->getModuleManager()->getModuleDir($module, '/doc')),