diff --git a/module/doc/control.php b/module/doc/control.php index f47b9b01c2..4de5d6f41e 100644 --- a/module/doc/control.php +++ b/module/doc/control.php @@ -381,11 +381,11 @@ class doc extends control $unclosed = strpos($this->config->doc->custom->showLibs, 'unclosed') !== false ? 'unclosedProject' : ''; $this->view->libID = $libID; + $this->view->type = $type; $this->view->libs = $this->doc->getLibs($type = 'all', $extra = "withObject,$unclosed", $libID); $this->view->libName = $this->dao->findByID($libID)->from(TABLE_DOCLIB)->fetch('name'); $this->view->moduleOptionMenu = $this->tree->getOptionMenu($libID, 'doc', $startModuleID = 0); $this->view->moduleID = $moduleID ? (int)$moduleID : (int)$this->cookie->lastDocModule; - $this->view->type = $type; $this->view->docType = $docType; $this->view->groups = $this->loadModel('group')->getPairs(); $this->view->users = $this->user->getPairs('nocode|noclosed|nodeleted');