[icinga-checkins] icinga.org: icingaweb2/master: Doc: Allow to view documentation of disabled modules

git at icinga.org git at icinga.org
Fri Dec 2 15:22:22 CET 2016


Module: icingaweb2
Branch: master
Commit: 65f0a4683f07adfc6d2b273df0b681cbb8dec38b
URL:    https://git.icinga.org/?p=icingaweb2.git;a=commit;h=65f0a4683f07adfc6d2b273df0b681cbb8dec38b

Author: Eric Lippmann <eric.lippmann at icinga.com>
Date:   Fri Dec  2 15:21:58 2016 +0100

Doc: Allow to view documentation of disabled modules

fixes #13387

---

 modules/doc/application/controllers/ModuleController.php |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/doc/application/controllers/ModuleController.php b/modules/doc/application/controllers/ModuleController.php
index fafd946..030e904 100644
--- a/modules/doc/application/controllers/ModuleController.php
+++ b/modules/doc/application/controllers/ModuleController.php
@@ -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')),



More information about the icinga-checkins mailing list